mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
[XENAPI] Example tools to create/destroy/shutdown VMs
Example Session: xapi.py vm-list xapi.py host-info xapi.py vm-create xapi.domcfg.py xapi.py vbd-create GentooAPI xapi.vbdcfg.py xapi.py vif-create GentooAPI xapi.vifcfg.py xapi.py vm-start GentooAPI xapi.py vm-shutdown GentooAPI xapi.py vm-delete xapi.py signed-off-by: Alastair Tse <atse@xensource.com>
This commit is contained in:
1 parent
ad6aa72b7f
commit
3dae87e5fa
4 files changed
+268
No files matched your search
@@ -0,0 +1,39 @@
|
||||
#
|
||||
# VM Configuration for Xen API
|
||||
#
|
||||
|
||||
name_label = 'GentooAPI'
|
||||
name_description = 'Gentoo VM via API'
|
||||
user_version = 1
|
||||
is_a_template = False
|
||||
memory_static_max = 32
|
||||
memory_dynamic_max = 32
|
||||
memory_dynamic_min = 32
|
||||
memory_static_min = 32
|
||||
VCPUs_policy = ''
|
||||
VCPUs_params = ''
|
||||
VCPUS_features_required = ''
|
||||
VCPUs_features_can_use = ''
|
||||
VCPUs_features_force_on = ''
|
||||
VCPUs_features_force_off = ''
|
||||
actions_after_shutdown = 'destroy'
|
||||
actions_after_reboot = 'restart'
|
||||
actions_after_suspend = 'destroy'
|
||||
actions_after_crash = 'restart'
|
||||
TPM_instance = ''
|
||||
TPM_backend = ''
|
||||
bios_boot = ''
|
||||
platform_std_VGA = False
|
||||
platform_serial = ''
|
||||
platform_localtime = False
|
||||
platform_clock_offset = False
|
||||
platform_enable_audio = False
|
||||
builder = ''
|
||||
boot_method = '' # this will remove the kernel/initrd ??
|
||||
kernel_kernel = '/boot/vmlinuz-2.6.16.29-xen'
|
||||
kernel_initrd = '/root/initrd.img-2.6.16.29-xen.ramfs'
|
||||
kernel_args = 'root=/dev/sda1 ro'
|
||||
grub_cmdline = ''
|
||||
PCI_bus = ''
|
||||
other_config = ''
|
||||
|
||||