diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-11-04 19:35:41 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-11-04 19:35:41 +0100 |
commit | 591c551e1bf37df47fab43869b7f16a54a4433ba (patch) | |
tree | b836580aaa5d7bb0a51435a686a2890d6d1eadca /createvm.sh | |
parent | 91698967dcfd4b9c345b7b847db1576a03e2cb1f (diff) | |
download | archauto32-591c551e1bf37df47fab43869b7f16a54a4433ba.tar.gz archauto32-591c551e1bf37df47fab43869b7f16a54a4433ba.tar.bz2 |
updated to 2018.08.01, retested, small fixes
Diffstat (limited to 'createvm.sh')
-rwxr-xr-x | createvm.sh | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/createvm.sh b/createvm.sh index 7cd84ab..cf84f67 100755 --- a/createvm.sh +++ b/createvm.sh @@ -22,20 +22,21 @@ wait_for_vm_to_stop() { done } -mount -o loop,ro mirror/archisos/archlinux-2018.07.01-i686.iso archiso +mount -o loop,ro mirror/archisos/archlinux-2018.08.01-i686.iso archiso -#cp archiso/arch/boot/i686/vmlinuz . -#cp archiso/arch/boot/i686/archiso.img . +cp archiso/arch/boot/i686/vmlinuz . +cp archiso/arch/boot/i686/archiso.img . #darkhttpd . --port 8088 & virt-install --name ${NAME} -r 1536 --vcpus=1 --os-type=linux --os-variant=virtio26 \ --disk pool=default,size=4,format=qcow2 --network bridge=br0,model=virtio \ - --vnc --vncport=5901 --noreboot --arch i686 --cpu coreduo \ + --arch i686 --cpu coreduo \ --boot kernel=archiso/arch/boot/i686/vmlinuz,initrd=archiso/arch/boot/i686/archiso.img,kernel_args="archisobasedir=archiso/arch archiso_http_srv=http://${HOST}:8088/ script=http://${HOST}:8088/archauto.sh ip=${CLIENT}:::${NETMASK}:${NAME}::off nomodeset i915.modeset=0" & -# --noautoconsole + sleep 15 +exit 0 virsh start ${NAME} sleep 15 |