Consolidate CentOS 7

This commit is contained in:
Greg Hellings
2023-08-03 15:46:44 -05:00
parent bb63ff7534
commit 22c04bd092
8 changed files with 61 additions and 18 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 get_providers():
packer build -var-file=@(self.parent / "x86_64.pkrvars.hcl") @(opts["upload"]) -only=@(provider) @(base / "sources")