Revision d0362bb3 snf-image-host/common.sh.in
b/snf-image-host/common.sh.in | ||
---|---|---|
162 | 162 |
format_disk0() { |
163 | 163 |
local device="$1" |
164 | 164 |
local image_type="$2" |
165 |
|
|
165 |
|
|
166 | 166 |
declare -A part_id=( ['extdump']="83" ["ntfsdump"]="7" ) |
167 | 167 |
|
168 | 168 |
# The -f is needed, because we use an optimal alignment and sfdisk complains |
... | ... | |
219 | 219 |
else |
220 | 220 |
if grep -qxF "$OS_VARIANT" variants.list; then |
221 | 221 |
log_error "ERROR: instance-image configuration error" |
222 |
log_error " Published variant $OS_VARIANT is missing its config" \ |
|
223 |
"file" |
|
224 |
log_error " Please create $VARIANT_CONFIG or unpublish the variant" |
|
222 |
log_error " Published variant $OS_VARIANT is missing its" \ |
|
223 |
"config file" |
|
224 |
log_error " Please create $VARIANT_CONFIG or unpublish the" \ |
|
225 |
"variant" |
|
225 | 226 |
log_error " (by removing $OS_VARIANT from variants.list)" |
226 | 227 |
else |
227 | 228 |
log_error "Unofficial variant $OS_VARIANT is unsupported" |
228 |
log_error "Most probably this is a user error, forcing a wrong name" |
|
229 |
log_error "Most probably this is a user error, forcing a" \ |
|
230 |
"wrong name" |
|
229 | 231 |
log_error "To support this variant please create file" \ |
230 |
"$VARIANT_CONFIG"
|
|
232 |
"$VARIANT_CONFIG" |
|
231 | 233 |
fi |
232 | 234 |
exit 1 |
233 | 235 |
fi |
Also available in: Unified diff