You've already forked Docker-OSX
mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2025-07-02 18:53:31 -05:00
Add Linux, libguestfs for building bootdisks within the Docker container. Add CPU_STRING to optionally override the whole CPU string. Unify variable names in ./custom.
This commit is contained in:
@ -89,21 +89,22 @@ function fish_fini() {
|
||||
fish umount-all
|
||||
}
|
||||
|
||||
# disabled by sick.codes to allow unattended image overwrites
|
||||
######################################################################
|
||||
# sanity checks
|
||||
|
||||
if test ! -f "$cfg"; then
|
||||
echo "ERROR: cfg not found: $cfg"
|
||||
exit 1
|
||||
fi
|
||||
if test -f "$img"; then
|
||||
if test "$allow_override" = "yes"; then
|
||||
rm -f "$img"
|
||||
else
|
||||
echo "ERROR: image exists: $img"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
# if test ! -f "$cfg"; then
|
||||
# echo "ERROR: cfg not found: $cfg"
|
||||
# exit 1
|
||||
# fi
|
||||
# if test -f "$img"; then
|
||||
# if test "$allow_override" = "yes"; then
|
||||
# rm -f "$img"
|
||||
# else
|
||||
# echo "ERROR: image exists: $img"
|
||||
# exit 1
|
||||
# fi
|
||||
# fi
|
||||
|
||||
######################################################################
|
||||
# go!
|
||||
|
Reference in New Issue
Block a user