strip /dev/ from labsync_disk parameter; fix hard-coded /dev/sda; remove ansible base role

This commit is contained in:
jalr 2018-03-21 20:58:12 +01:00
parent e9b692fc3c
commit f4e39467bd
9 changed files with 16 additions and 25 deletions

View file

@ -130,7 +130,7 @@ qemu: qemu-network $(qemu_disk) docker-services
-kernel "images/$(qemu_kernel)" \
-initrd "images/$(qemu_initramfs)" \
-drive format=raw,file="$(qemu_disk)" \
-append "boot=labsync labsync_disk=/dev/sda labsync_partsize_boot=512 labsync_torrent=http://10.2.2.1/$(qemu_torrent) quiet vga=792 ip=$(qemu_vm_ip):::255.255.255.0:$(qemu_hostname):ens3:off labsync_wait=pause" \
-append "boot=labsync labsync_disk=sda labsync_partsize_boot=512 labsync_torrent=http://10.2.2.1/$(qemu_torrent) quiet vga=792 ip=$(qemu_vm_ip):::255.255.255.0:$(qemu_hostname):ens3:off labsync_wait=pause" \
-enable-kvm \
-m 1G \
-net nic \