projects:livenet:virtualization

Virtualization

  • Use virtio network driver
  • Use SATA driver for storage (no virtio available)
  • Use host only network and assign static IP to guest
  • In “User Interface” hide minitoolbar
  • Add printers with address below and with generic MS Publisher Imagesetter driver

Discover host printer name with lpstat -a

Address to use from windows

http://<hostip>:631/printers/<printername>

Enable network for guest if host is connected to work with eth0

echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

tip to launch windows app clicking on file

Minimize splash screen

VBoxManage modifyvm vm --bioslogodisplaytime 1  # 1ms is minimun

Avoid shutdown dialog on ubuntu exit session

VBoxManage setextradata vm GUI/DefaultCloseAction PowerOff
add-apt-repository ppa:jacob/virtualisation
apt-get update

apt-get install kvm
apt-get install livenet-vm

add to /etc/auto.master

/-                  /etc/auto.vms

/etc/auto.vms and set proper nfs path (for example vms machine is defined in /etc/hosts)

/mnt/vms -vers=4,proto=tcp,rsize=32768,wsize=32768 vms:/vms

/etc/livenet/vms.conf

[default]
name=xp
master=/mnt/vms/xp
local=/vms/xp
update=true

Create eventually root folder of vms

mkdir /vms

/etc/livenet/session*/vm.desktop

[Desktop Entry]
Name=Windows
Comment=Macchina virtuale predefinita
Exec=ln-vms --vm default --guest
Icon=/usr/share/icons/vm.png
Type=Application
  • projects/livenet/virtualization.txt
  • Last modified: 2020/05/20 20:40
  • by scipio