Files
vms/attic/debian/10/build.xsh
T
Greg Hellings b0b313cd69 Debian moved to attic
Debian boxes build great, but I cannot get them to load after the build
is complete. They will not bring up their Network ports as a VM.
2023-08-10 14:12:04 -05:00

18 lines
455 B
Plaintext
Executable File

#!/usr/bin/env xonsh
$RAISE_SUBPROC_ERROR = True
from pathlib import Path
import sys
self = Path(__file__).absolute()
base = self.parent.parent.parent.parent
source @(base / "test.xsh")
unsupported = set({
})
opts = get_parser(sys.argv[1:], unsupported)
cd @(str(base))
for provider in opts["providers"]:
packer build -var=@(opts["headless"]) -var-file=@(self.parent / "x86_64.pkrvars.hcl") @(opts["upload"]) -only=@(provider) @(base / "sources")