forked from sneak/hacks
added some crap
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
#VAR="ubuntu18.04"
|
||||
VAR="generic"
|
||||
|
||||
virt-install \
|
||||
--name $VMNAME \
|
||||
--ram 32768 \
|
||||
--disk path=$DISK_DIR/$VMNAME.qcow2,size=20 \
|
||||
--disk path=$DISK_DIR/$VMNAME.qcow2,size=1000 \
|
||||
--vcpus 8 \
|
||||
--os-type linux \
|
||||
--os-variant generic \
|
||||
--os-variant "$VAR" \
|
||||
--network bridge=virbr0 \
|
||||
--graphics none \
|
||||
--console pty,target_type=serial \
|
||||
|
||||
Reference in New Issue
Block a user