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 @@
+todo
+ 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
+
+
+
vm 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
# fedora not available. available os: listed down
# storage not available. please create it
@@ -73,3 +78,19 @@ Usage: ./vm compute create <name> <os> --vcpu 4 --ram 8 --disk 40 --storage-pool
# Then use directly
./vm compute create myvm fedora 2 4 20 prod-net prod-store
+
+
+
+
+for debian12,
+sudo dnf install libguestfs libguestfs-tools libvirt virt-install virt-manager guestfs-tools
+sudo virt-customize -a /var/lib/libvirt/images/.image_store/debian12.qcow2 --root-password password:yourpassword
+sudo apt update && sudo apt install -y ssh cloud-init
+
+console works but no ssh, and the generic cloud ssh fails after editing the password(not sure if this is the reason)
+try to find out how to execute commands in sudo virsh console t1 in a bash script
+not sure if cloud init can work after this but
+
+currently only fedra works fully, debian can work and login after editing the root password
+freebsd have not tried editing root password, boots on generic cloud image, no login yet
+ubuntu no boot no login yet.