Revision fd786991 common.sh.in
b/common.sh.in | ||
---|---|---|
166 | 166 |
# 3 - Rest |
167 | 167 |
$sfdisk_cmd <<EOF |
168 | 168 |
,100,L,* |
169 |
,$INSTANCE_BE_memory,S
|
|
169 |
,${SWAP_SIZE},S
|
|
170 | 170 |
,,L |
171 | 171 |
EOF |
172 | 172 |
elif [ "${SWAP}" = "no" -a -z "${KERNEL_PATH}" ] ; then |
... | ... | |
182 | 182 |
# 1 - Size of Memory, swap |
183 | 183 |
# 2 - Rest |
184 | 184 |
$sfdisk_cmd <<EOF |
185 |
,$INSTANCE_BE_memory,S
|
|
185 |
,$SWAP_SIZE,S
|
|
186 | 186 |
,,L |
187 | 187 |
EOF |
188 | 188 |
elif [ "${SWAP}" = "no" -a -n "${KERNEL_PATH}" ] ; then |
... | ... | |
363 | 363 |
# will use it, this declaration is to make sure the variable is set |
364 | 364 |
: ${CDINSTALL:="yes"} |
365 | 365 |
: ${SWAP:="yes"} |
366 |
: ${SWAP_SIZE:="${INSTANCE_BE_memory}"} |
|
366 | 367 |
: ${IMAGE_NAME:=""} |
367 | 368 |
: ${IMAGE_TYPE:="qemu"} |
368 | 369 |
: ${ARCH:=""} |
Also available in: Unified diff