Now with Ubuntu support

This commit is contained in:
Greg Hellings
2023-08-11 09:55:32 -05:00
parent d50446dec3
commit c46b459a85
11 changed files with 178 additions and 52 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/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")
opts = get_parser(sys.argv[1:])
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")