Revision 58356445 host/create
b/host/create | ||
---|---|---|
83 | 83 |
snf_export_TYPE=${IMG_FORMAT} |
84 | 84 |
snf_export_PASSWORD=${IMG_PASSWD} |
85 | 85 |
snf_export_HOSTNAME=${instance} |
86 |
if [ -e "$IMG_PERSONALITY" ]; then
|
|
86 |
if [ -n "$IMG_PERSONALITY" ]; then
|
|
87 | 87 |
snf_export_PERSONALITY=${IMG_PERSONALITY} |
88 | 88 |
fi |
89 | 89 |
|
... | ... | |
104 | 104 |
result=$(cat $result_file) |
105 | 105 |
|
106 | 106 |
if [ "x$result" != "xSUCCESS" ]; then |
107 |
log_error "Helper VM returned error: \`$result'"
|
|
107 |
log_error "Helper VM returned error" |
|
108 | 108 |
exit 1 |
109 | 109 |
fi |
110 | 110 |
|
Also available in: Unified diff