i have problems to run my virtual machine in background, so i don't know what is missing.
This works:
Code: Select all
qemu-system-x86_64 -enable-kvm -drive file=/vms/prod/puppet/gentoo.iso,if=virtio,format=raw -drive file=/vms/prod/puppet/swap,if=virtio,format=raw -drive file=/vms/prod/puppet/gentoodata.iso,if=virtio,format=raw -m 512 -nographic -vnc :0 -kernel /data/kernels/vmlinuz-4.4.6-gentoo -append "root=/dev/vda" -net nic,model=virtio,macaddr=DE:AD:BE:EF:2D:A1 -net tap,ifname=tappup0,script=/etc/qemu/qemu-ifup
Code: Select all
qemu-system-x86_64 -enable-kvm -drive file=/vms/prod/puppet/gentoo.iso,if=virtio,format=raw -drive file=/vms/prod/puppet/swap,if=virtio,format=raw -drive file=/vms/prod/puppet/gentoodata.iso,if=virtio,format=raw -m 512 -nographic -vnc :0 -kernel /data/kernels/vmlinuz-4.4.6-gentoo -append "root=/dev/vda" -net nic,model=virtio,macaddr=DE:AD:BE:EF:2D:A1 -net tap,ifname=tappup0,script=/etc/qemu/qemu-ifup &
Thanks,
Antonios.
