diff options
Diffstat (limited to 'others/vm3/docs')
| -rw-r--r-- | others/vm3/docs | 32 |
1 files changed, 26 insertions, 6 deletions
diff --git a/others/vm3/docs b/others/vm3/docs index 8423f1c..c274dd3 100644 --- a/others/vm3/docs +++ b/others/vm3/docs @@ -10,9 +10,9 @@ vm storage create <name2> /dir/ vm/ - ./vm # Single entry point. one vm at a time(except for compute delete-all) + ./vm.sh # Single entry point. one vm at a time(except for compute delete-all) .config/ # all config files - init/ + init/ # run this everytime. try to think of a way to set a flag that says this device has been initialised install_packages.sh make_rootkey.sh # in /root/k/k1. can also add keys in here /var/lib/libvirt/images/.image_store/ # stores the images @@ -22,23 +22,23 @@ vm/ opensuse.sh debian.sh freebsd.sh + list-all-images.sh compute/ create.sh # default vcpu ram disk storage pool network # allow specification of storage pool and network. # auto list all available images, storage pools, networks. on no argument. just call stroage/network list.sh delete.sh and all associated virtual machines and block devices on all storage device - delete-all.sh start.sh before starting the vm, make sure the cloud init seed.iso is not attached anymore. shutdown.sh - list.sh # list by ip address, (sorted by) network group, then name, then cpu ram disk, total disk(incl all attachedvols) + list.sh # list by (sorted by) network group, ip address, then cpu ram disk, total disk(incl all attachedvols), name network/ attach.sh # one click, so if vm is running, ask fro permission to shutdown. or if can, live attach list.sh detach.sh create.sh # allow specifying the ip address range. auto make uuid delete.sh - storage/ + disk/ attach.sh detach.sh create.sh @@ -52,4 +52,24 @@ vm/ attach.sh detach.sh view.sh # usbs of all the vms - + +# No arguments shows available options +./vm compute create +Available networks: + prod-net 192.168.1.0/24 + dev-net 192.168.2.0/24 + test-net 192.168.3.0/24 + +Available storage pools: + prod-store 2TB free + dev-store 500GB free + backup 1TB free + +Available images: + fedora40(41) + + +Usage: ./vm compute create <name> <os> --vcpu 4 --ram 8 --disk 40 --storage-pool prod-store --network prod-net + +# Then use directly +./vm compute create myvm fedora 2 4 20 prod-net prod-store |
