move to qcow2
This commit is contained in:
parent
8c19fb2d7e
commit
11495102c7
@ -31,13 +31,13 @@ function cmd_image() {
|
||||
|
||||
# Validate Config Exists
|
||||
if ! nix eval --json --impure \
|
||||
".#vmwareConfigurations" \
|
||||
".#qcowConfigurations" \
|
||||
--apply "s: builtins.hasAttr \"$name\" s" 2>/dev/null | grep -q "true"; then
|
||||
echo "Error: NixOS Generator Config '$name' not found"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
build_args=(".#vmwareConfigurations.$name")
|
||||
build_args=(".#qcowConfigurations.$name")
|
||||
if [ "$remote" = true ]; then
|
||||
build_args+=("-j0")
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user