summaryrefslogtreecommitdiff
path: root/others/vm3/docs
diff options
context:
space:
mode:
Diffstat (limited to 'others/vm3/docs')
-rw-r--r--others/vm3/docs21
1 files changed, 21 insertions, 0 deletions
diff --git a/others/vm3/docs b/others/vm3/docs
index c274dd3..dc5a3e6 100644
--- a/others/vm3/docs
+++ b/others/vm3/docs
@@ -1,4 +1,9 @@
1 1
2todo
3 make theseediso cloud init stuff happen inside the vm storage directory so that multiple poeple can use it ast the same time on the same system
4
5
6
2vm compute create name1 -os fedora -vcpu 1 -ram 1 -disk 10 -s.pool storage1 -add-disk 200 storage2 -add-network nw3 # default fedora 4,4,20 7vm compute create name1 -os fedora -vcpu 1 -ram 1 -disk 10 -s.pool storage1 -add-disk 200 storage2 -add-network nw3 # default fedora 4,4,20
3 # fedora not available. available os: listed down 8 # fedora not available. available os: listed down
4 # storage not available. please create it 9 # storage not available. please create it
@@ -73,3 +78,19 @@ Usage: ./vm compute create <name> <os> --vcpu 4 --ram 8 --disk 40 --storage-pool
73 78
74# Then use directly 79# Then use directly
75./vm compute create myvm fedora 2 4 20 prod-net prod-store 80./vm compute create myvm fedora 2 4 20 prod-net prod-store
81
82
83
84
85for debian12,
86sudo dnf install libguestfs libguestfs-tools libvirt virt-install virt-manager guestfs-tools
87sudo virt-customize -a /var/lib/libvirt/images/.image_store/debian12.qcow2 --root-password password:yourpassword
88sudo apt update && sudo apt install -y ssh cloud-init
89
90console works but no ssh, and the generic cloud ssh fails after editing the password(not sure if this is the reason)
91try to find out how to execute commands in sudo virsh console t1 in a bash script
92not sure if cloud init can work after this but
93
94currently only fedra works fully, debian can work and login after editing the root password
95freebsd have not tried editing root password, boots on generic cloud image, no login yet
96ubuntu no boot no login yet.