Skip to content

Commit 482aba9

Browse files
committed
group updates to public branch
1 parent af1c1cc commit 482aba9

File tree

6 files changed

+14
-5
lines changed

6 files changed

+14
-5
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,8 @@ If defining the ansible playbooks as a submodule the same way done in this repo,
210210
- [vagrant-template-templates](https://github.com/mrlesmithjr/vagrant-template-templates)
211211
- https://github.com/mwrock/packer-templates
212212
- https://github.com/jacqinthetemplate/packer-templates
213-
- https://github.com/geerlingguy/packer-templatees
213+
- https://github.com/geerlingguy/packer-templates
214214

215215
## Contact
216216

217217
[![Linkedin](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/leejjohnson/)
218-

templates/CentOS/10/server/template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
"iso_url": "http://mirror.stream.centos.org/10-stream/BaseOS/x86_64/iso/CentOS-Stream-10-latest-x86_64-dvd1.iso",
55
"iso_checksum": "f871337c5d39d1549c66eac26bfc78d5c3ecc81973595b37a38b7a35a4a89ca0",
66
"vm_firmware": "efi",
7-
"vm_guest_os_type": "centos9_64Guest"
7+
"vm_guest_os_type": "centos8_64Guest"
88
}

templates/CentOS/10/server/template.json.pkrvars.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ iso_checksum_type="sha256"
33
iso_url="http://mirror.stream.centos.org/10-stream/BaseOS/x86_64/iso/CentOS-Stream-10-latest-x86_64-dvd1.iso"
44
iso_checksum="f871337c5d39d1549c66eac26bfc78d5c3ecc81973595b37a38b7a35a4a89ca0"
55
vm_firmware="efi"
6-
vm_guest_os_type="centos9_64Guest"
6+
vm_guest_os_type="centos8_64Guest"

templates/build_vm_template.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ LOG_DEBUG=4
6363
#LOG_LEVEL=${LOG_DEBUG}
6464
LOG_LEVEL=${LOG_INFO}
6565

66+
function abort() {
67+
logError "%s\n" "$@"
68+
exit 1
69+
}
70+
6671
function logError() {
6772
if [ $LOG_LEVEL -ge $LOG_ERROR ]; then
6873
# echo -e "[ERROR]: ==> ${1}"

templates/config.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ LOG_DEBUG=4
3030
#LOG_LEVEL=${LOG_DEBUG}
3131
LOG_LEVEL=${LOG_INFO}
3232

33+
function abort() {
34+
logError "%s\n" "$@"
35+
exit 1
36+
}
37+
3338
function logError() {
3439
if [ $LOG_LEVEL -ge $LOG_ERROR ]; then
3540
# echo -e "[ERROR]: ==> ${1}"

0 commit comments

Comments
 (0)