Add new HELPER_MEMORY parameter
[snf-image] / snf-image-host / xen-common.sh
index 4f065e9..8c35f70 100644 (file)
@@ -31,8 +31,8 @@ launch_helper() {
     echo "$($DATE +%Y:%m:%d-%H:%M:%S.%N) VM START" >&2
 
     xm create /dev/null \
-      kernel="$HELPER_DIR/kernel-xen" ramdisk="$HELPER_DIR/initrd-xen" \
-      root="/dev/xvda1" memory="256" boot="c" vcpus=1 name="$name" \
+      kernel="$HELPER_DIR/kernel" ramdisk="$HELPER_DIR/initrd" \
+      root="/dev/xvda1" memory="$HELPER_MEMORY" boot="c" vcpus=1 name="$name" \
       extra="console=hvc0 hypervisor=$HYPERVISOR snf_image_activate_helper \
          ipv6.disable=1 rules_dev=/dev/xvdc ro boot=local helper_ip=10.0.0.1 \
           monitor_port=48888 init=/usr/bin/snf-image-helper" \