1
0
forked from sneak/hacks
This commit is contained in:
2020-02-15 13:38:59 -08:00
parent 3f91b5cce0
commit e50f689576
15 changed files with 1120 additions and 41 deletions

16
ubuntu-makevm/install.sh Normal file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
virt-install \
--name $VMNAME \
--ram 32768 \
--disk path=$DISK_DIR/$VMNAME.qcow2,size=20 \
--vcpus 8 \
--os-type linux \
--os-variant generic \
--network bridge=virbr0 \
--graphics none \
--console pty,target_type=serial \
--initrd-inject=preseed.cfg --extra-args "ks=file:/preseed.cfg" \
--location 'http://us.archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/' \
--extra-args 'console=ttyS0,115200n8 serial'