############################# # # Instanciate kvm+ # ############################# [buildout]
extends = ${template-kvm:output}
[kvm-instance] recipe = slapos.cookbook:kvm vnc-ip = $${slap-network-information:local-ipv4} vnc-port = 5901 nbd-ip = $${slap-parameter:nbd_ip} nbd-port = $${slap-parameter:nbd_port} tap = $${slap-network-information:network-interface} disk-path = $${rootdirectory:srv}/virtual.qcow2 disk-size = 20 socket-path = $${rootdirectory:var}/qmp_socket pid-path = $${basedirectory:run}/pid_file smp-count = 2 ram-size = 2048 mac-address = $${create-mac:mac-address} runner-path = $${basedirectory:services}/kvm controller-path = $${basedirectory:services}/kvm_controller shell-path = ${dash:location}/bin/dash qemu-path = ${kvm:location}/bin/qemu-system-x86_64 qemu-img-path = ${kvm:location}/bin/qemu-img