Fix tabs
This commit is contained in:
parent
3fb93b8359
commit
061832ec16
12
buildpxe.sh
12
buildpxe.sh
|
@ -79,14 +79,14 @@ fail() {
|
||||||
}
|
}
|
||||||
|
|
||||||
build_iso() {
|
build_iso() {
|
||||||
if [[ ! -f pvc-installer_pxe-tmp.iso ]]; then
|
if [[ ! -f pvc-installer_pxe-tmp.iso ]]; then
|
||||||
./buildiso.sh \
|
./buildiso.sh \
|
||||||
-o pvc-installer_pxe-tmp.iso \
|
-o pvc-installer_pxe-tmp.iso \
|
||||||
-u ${deployusername} \
|
-u ${deployusername} \
|
||||||
${preserve_artifacts} \
|
${preserve_artifacts} \
|
||||||
${preserve_livebuild} || fail "Failed to build ISO."
|
${preserve_livebuild} || fail "Failed to build ISO."
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
build_pxe() {
|
build_pxe() {
|
||||||
|
@ -128,10 +128,10 @@ initrd \${root-url}/initrd.img
|
||||||
imgargs vmlinuz console=tty0 console=ttyS0,115200n8 boot=live components timezone=America/Toronto fetch=\${root-url}/filesystem.squashfs username=root \${host-args}
|
imgargs vmlinuz console=tty0 console=ttyS0,115200n8 boot=live components timezone=America/Toronto fetch=\${root-url}/filesystem.squashfs username=root \${host-args}
|
||||||
boot
|
boot
|
||||||
EOF
|
EOF
|
||||||
echo "done."
|
echo "done."
|
||||||
|
|
||||||
sudo chown -R $(whoami) ${outputdir}
|
sudo chown -R $(whoami) ${outputdir}
|
||||||
sudo chmod -R u+w ${outputdir}
|
sudo chmod -R u+w ${outputdir}
|
||||||
|
|
||||||
if [[ -z ${preserve_liveiso} ]]; then
|
if [[ -z ${preserve_liveiso} ]]; then
|
||||||
echo -n "Removing temporary ISO... "
|
echo -n "Removing temporary ISO... "
|
||||||
|
|
Loading…
Reference in New Issue