From 53819b198ca8702487c626c5ab54484023b1006a Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Mon, 20 Jan 2020 21:15:15 -0500 Subject: [PATCH] Add info about disk/net ordering in templates Ensures that the behaviour of 650ed972a1443b3a7e127fe1e48f2f3e2680ee98 is reflected in the help messages of these commands. --- client-cli/pvc.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/client-cli/pvc.py b/client-cli/pvc.py index 7d9a3312..fcdc260c 100755 --- a/client-cli/pvc.py +++ b/client-cli/pvc.py @@ -2236,6 +2236,8 @@ def provisioner_template_network_vni(): def provisioner_template_network_vni_add(name, vni): """ Add a new network VNI to network template NAME. + + Networks will be added to VMs in the order they are added and displayed within the template. """ params = dict() @@ -2399,7 +2401,9 @@ def provisioner_template_storage_disk_add(name, disk, pool, source_volume, size, """ Add a new DISK to storage template NAME. - DISK must be a Linux-style disk identifier such as "sda" or "vdb". + DISK must be a Linux-style sdX/vdX disk identifier, such as "sda" or "vdb". All disks in a template must use the same identifier format. + + Disks will be added to VMs in sdX/vdX order. For disks with mountpoints, ensure this order is sensible. """ if source_volume and (size or filesystem or mountpoint):