Revision 8e5449f1
b/common.sh.in | ||
---|---|---|
99 | 99 |
} |
100 | 100 |
|
101 | 101 |
get_api20_parameters() { |
102 |
if [ -z "$OSP_IMG_ID" -o -z "$OSP_IMG_PASSWD" ]; then |
|
102 |
if [ -z "$OSP_IMG_ID" -o -z "$OSP_IMG_FORMAT" -o -z "$OSP_IMG_PASSWD" ]; then
|
|
103 | 103 |
log_error "Missing OS API Parameter:" |
104 |
log_error "(OSP_IMG_ID or OSP_IMG_PASSWD)" |
|
104 |
log_error "(OSP_IMG_ID or OSP_IMG_FORMAT or OSP_IMG_PASSWD)"
|
|
105 | 105 |
exit 1 |
106 | 106 |
fi |
107 | 107 |
IMG_ID=$OSP_IMG_ID |
108 |
IMG_FORMAT=$OSP_IMG_FORMAT |
|
108 | 109 |
IMG_PASSWD=$OSP_IMG_PASSWD |
109 | 110 |
} |
110 | 111 |
|
b/parameters.list | ||
---|---|---|
1 | 1 |
img_id The id of the image to be installed (the id will be the image's file name prefix) |
2 |
img_format The format of the image to be installed |
|
2 | 3 |
img_passwd The root password which will be injected into the image |
Also available in: Unified diff