LiveWireLiveWire Virtual User GuideDownload PDF
Introduction : Deploying LiveWire Virtual on KVM : Virt-install deployment from the command line
Virt-install deployment from the command line
To deploy a LiveWire Virtual instance from the command line:
1. Download the LivePCA_Virtual_KVM_*.tar.gz package from LiveAction to the desired KVM host machine.
2. Determine the image store location. The recommended location for RedHat and Ubuntu is /var/lib/libvirt/images. In this guide, the following path is used:
sudo mkdir -p /var/lib/libvirt/images/livepca
3. Extract the two raw disk images from LivePCA_Virtual_KVM_*.tar.gz and archive to your desired image store location.
sudo tar xvzf LivePCA_Virtual_KVM_*.tar.gz -C /var/lib/libvirt/images/livepca
4. Define the LiveWire Virtual machine using virt-install. If you used a different image store location than mentioned earlier, please update both ‘--disk’ entries with the correct path. The first ‘network’ entry is for the management, so we recommend configuring ‘bridge’ networking. The second ‘network’ entry is the capture network.
sudo virt-install \
--import \
--name livepca \
--description “
LiveWire Virtual” \
--virt-type kvm \
--cpu host --vcpus 8 \
--ram 16384 \
--os-type linux --os-variant ubuntu18.04 \
--network bridge=br0,model=virtio \
--network network=default,model=virtio \
--disk /var/lib/libvirt/images/livepca/disk1.img,device=disk,format=raw,bus=virtio,cache=none \
--disk /var/lib/libvirt/images/livepca/disk2.img,device=disk,format=raw,bus=virtio,cache=none \
--graphics vnc --noautoconsole
5. Your LiveWire Virtual image should have successfully installed and be up and running. To verify the current state of your LiveWire Virtual machine, execute the following command:
sudo virsh list
6. To configure the LiveWire Virtual image to boot on start, execute the following command:
sudo virsh autostart livepca
7. To determine the IP address of the running LiveWire Virtual image, execute the following command:
sudo virsh domifaddr livepca
NOTE: You can also log in from the VM console and run ifconfig eth0 to look up the IP address.
8. You can proceed to configuring Ethernet and NTP server settings for LiveWire Virtual. See Configuring Ethernet settings by command script on page 30 and Configuring an NTP server on page 31.
9. You can begin using LiveWire Virtual as a virtual appliance.