-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
40 lines (22 loc) · 1.11 KB
/
Copy pathREADME
File metadata and controls
40 lines (22 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
To deploy a given number of vm's from scratch (cdrom):
------------------------------------------------------
Ensure ks-labmoll.cfg or whatever is specified inside the script is ready
to go.
./provision-kvm-bulk.sh moll-srv 2048 2 20 172.26.0.20 5
To deploy a single virtual machine from scratch (cdrom):
--------------------------------------------------------
Ensure ks-labmoll.cfg or whatever is specified inside the script is ready
to go.
./provision-kvm-bulk.sh moll-srv 2048 2 20 172.26.0.20 1
To deploy from network and not using cdrom:
-------------------------------------------
Modify hardcored variables inside.
./provision-kvm-net.sh
To deploy cloning a machine (very fast):
----------------------------------------
./clone-kvm-bulk.sh moll-srv 2048 1 20 172.26.0.20 centos7-template99 3
Execute without parameters to see help.
BUGS:
When creating a new vm to clone, you must remove qemu-ga auto-created device. See https://bugzilla.redhat.com/show_bug.cgi?id=1270696 .
HINTS:
"Usage: ./provision-kvm-bulk.sh <vm_name_pattern> <memory(MiB)> <vcpus> <hdsize(GB)> <start_private_ip> <base_domain> <nhosts>"