-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvm.conf.example
50 lines (40 loc) · 1.21 KB
/
vm.conf.example
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
41
42
43
44
45
46
47
48
49
50
# Hypervisor
# xen or kvm
HYPERVISOR="kvm"
# CLUSTER NAME
CLUSTER="sle15test"
# Path to image storage
STORAGEP="/mnt/data/libvirt/images/${CLUSTER}"
SHARENAME="commondisk"
SHAREDISK="${STORAGEP}/${SHARENAME}/${SHARENAME}.img"
# Host ssh root key (will be 'ssh-copy-id' on node)
IDRSA="id_rsa_SLE"
# PSSH
PSSHCONF="/etc/nodes_${CLUSTER}"
# Virtual network name HOST
NETMACHOST="52:54:00:89:b0:C9"
UUID="951e50f1-db73-475a-895f-28304baf8e8f"
BRIDGE="vibr3"
NODENAME="sle15hpc"
# VM
# number of nodes (MAX9) and MACADDR
NBNODE=5
# incomplete MAC: the last input will be a nnumber, ie node1: ${MAC}1, node2: ${MAC}2
MAC="52:54:00:b7:92:a"
NODEDOMAIN="hpc.com"
NETWORKNAME="slenet"
NETWORK="192.168.14"
# MODIFY THIS PATH to your ISO IMAGE
# you should provide a SLE and Other ISO (MANDATORY for installation)
SLECDROM="/mnt/data/ISO/SLE15/SLE-15-Installer-DVD-x86_64-GM-DVD1.iso"
OTHERCDROM="/mnt/data/ISO/SLE15/SLE-15-Packages-x86_64-GM-DVD1.iso"
##SLECDROM="/mnt/data/ISO/SLE15devel/SLE-15-Server-DVD-x86_64-Buildxxx.x-Media1.iso"
# GENERAL VM Guest conf
# default will be 4096M of Ram (you can use KSM under KVM to share VM memory)
DISTRO="SLE15"
KEYMAP="fr"
VCPU="2"
RAM="2048"
IMAGESIZE="8G"
VMXML="vm.xml"
VMMINIXML="vm_mini.xml"