-
Notifications
You must be signed in to change notification settings - Fork 1
/
Chromixium-1.0.sh
29 lines (27 loc) · 1.22 KB
/
Chromixium-1.0.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
##[ Chromixium OS 1.0 ]########################################################
# 2015, JK Benedict | http://www.xenserver.org | @xenfomation
###############################################################################
srcUUID=$(xe template-list name-label="Other install media" --minimal)
dstUUID=$(xe vm-clone uuid=$srcUUID new-name-label="Chromixium OS 1.0")
xe template-param-set uuid=$dstUUID \
name-description="COMMUNITY TEMPLATE for Chromixium OS 1.0 from http://chromixium.org/" \
memory-static-max=1073741824 \
memory-dynamic-max=1073741824 \
memory-dynamic-min=1073741824 \
other-config:linux_template=true \
other-config:default_template=true \
other-config:install-methods=cdrom \
other-config:install-distro=debianlike \
other-config:disks='<provision><disk device="0" size="6442450944" sr="" bootable="true" type="system"/></provision>' \
platform:apic=true \
platform:acpi=1 \
platform:pae=true \
platform:vga=std \
platform:videoram=8 \
platform:nx=true \
platform:device_id=0001 \
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