#!/bin/sh
-machine=$2
-cdrom=$3
+machine="$2"
+cdrom="$3"
if [ -n "$cdrom" ]; then
- xm create sipb-database machine_id="$machine" cdrom_image="$cdrom"
+ xm create sipb-database machine_name="$machine" cdrom_image="$cdrom"
else
- xm create sipb-database machine_id="$machine"
+ xm create sipb-database machine_name="$machine"
fi