-
Notifications
You must be signed in to change notification settings - Fork 1
/
HandyLinux-1.8.sh
32 lines (28 loc) · 1.24 KB
/
HandyLinux-1.8.sh
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
##[ HandyLinux 1.8 ]###########################################################
# 2014-2015, JK Benedict | @xenfomation | [email protected]
###############################################################################
srcUUID=$(xe template-list name-label="Other install media" --minimal)
dstUUID=$(xe vm-clone uuid=$srcUUID new-name-label="HandyLinux 1.8")
xe template-param-set uuid=$dstUUID \
name-description="COMMUNITY TEMPLATE for HandyLinux 1.8 from http://handylinux.org/" \
memory-static-max=536870912 \
memory-dynamic-max=536870912 \
memory-dynamic-min=536870912 \
other-config:linux_template=true \
other-config:default_template=true \
other-config:install-distro=debianlike \
other-config:install-methods=cdrom,http,ftp,nfs \
other-config:disks='<provision><disk device="0" size="1073741824" sr="" bootable="true" type="system"/></provision>' \
platform:nx=true \
platform:vga=std \
platform:videoram=8 \
platform:usb_tablet=true \
platform:device_id=0001 \
platform:acpi=1 \
platform:apic=true \
platform:pae=true \
platform:viridian=false \
HVM-boot-policy="BIOS order" \
HVM-boot-params:order="cdn"
xe template-param-remove uuid=$dstUUID param-name=other-config param-key=base_template_name
xe template-list uuid=$dstUUID