diff options
Diffstat (limited to 'others/vm3/docs')
| -rw-r--r-- | others/vm3/docs | 55 |
1 files changed, 54 insertions, 1 deletions
diff --git a/others/vm3/docs b/others/vm3/docs index dc53806..8423f1c 100644 --- a/others/vm3/docs +++ b/others/vm3/docs | |||
| @@ -1,2 +1,55 @@ | |||
| 1 | 1 | ||
| 2 | k1 will be created in /root/k1 | 2 | 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 |
| 3 | # fedora not available. available os: listed down | ||
| 4 | # storage not available. please create it | ||
| 5 | # nw3 not available. create y/n? | ||
| 6 | vm network create <name> 192.168.100.1 /32 | ||
| 7 | vm network create <name> (auto) | ||
| 8 | vm storage create <name> /dev/ | ||
| 9 | vm storage create <name2> /dir/ | ||
| 10 | |||
| 11 | |||
| 12 | vm/ | ||
| 13 | ./vm # Single entry point. one vm at a time(except for compute delete-all) | ||
| 14 | .config/ # all config files | ||
| 15 | init/ | ||
| 16 | install_packages.sh | ||
| 17 | make_rootkey.sh # in /root/k/k1. can also add keys in here | ||
| 18 | /var/lib/libvirt/images/.image_store/ # stores the images | ||
| 19 | /var/lib/libvirt/images/.temp/ # for user-data, meta-data, and seed.iso(has ud and md inside) need to delete after initialising a new vm | ||
| 20 | image/ # vm cloud init templates to make user-data, meta-data, and seed.iso | ||
| 21 | fedora.sh <vm name> # images in /var/lib/libvirt/images/.image_store/ and in images/.temp | ||
| 22 | opensuse.sh | ||
| 23 | debian.sh | ||
| 24 | freebsd.sh | ||
| 25 | compute/ | ||
| 26 | create.sh | ||
| 27 | # default vcpu ram disk storage pool network | ||
| 28 | # allow specification of storage pool and network. | ||
| 29 | # auto list all available images, storage pools, networks. on no argument. just call stroage/network list.sh | ||
| 30 | delete.sh and all associated virtual machines and block devices on all storage device | ||
| 31 | delete-all.sh | ||
| 32 | start.sh before starting the vm, make sure the cloud init seed.iso is not attached anymore. | ||
| 33 | shutdown.sh | ||
| 34 | list.sh # list by ip address, (sorted by) network group, then name, then cpu ram disk, total disk(incl all attachedvols) | ||
| 35 | network/ | ||
| 36 | attach.sh # one click, so if vm is running, ask fro permission to shutdown. or if can, live attach | ||
| 37 | list.sh | ||
| 38 | detach.sh | ||
| 39 | create.sh # allow specifying the ip address range. auto make uuid | ||
| 40 | delete.sh | ||
| 41 | storage/ | ||
| 42 | attach.sh | ||
| 43 | detach.sh | ||
| 44 | create.sh | ||
| 45 | list all available storage hardware devices on no argument. just call list.sh | ||
| 46 | make directory linking from /var/lib/libvirt/images/${VM_NAME}-vm-disks/ to the actual storage device | ||
| 47 | delete.sh | ||
| 48 | delete all blocks. all the linking if can. may not be able to link like that idk. list all mounts and delete the originla and the links | ||
| 49 | list.sh #list storage pools and include --all to view all blocks and their sizes | ||
| 50 | device/ | ||
| 51 | usb/ | ||
| 52 | attach.sh | ||
| 53 | detach.sh | ||
| 54 | view.sh # usbs of all the vms | ||
| 55 | |||
