From 0d458d8c8425da5f10d5300604f4441f4fd56811 Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Fri, 24 Sep 2021 14:11:43 -0400 Subject: [PATCH] Update ks.pkrtpl.hcl for rhel/variants (#48) Whoops. Added`%end` back to the end of `ks.pkrtpl.hcl`. --- builds/linux/almalinux-8/http/ks.pkrtpl.hcl | 3 ++- builds/linux/centos-linux-8/http/ks.pkrtpl.hcl | 3 ++- builds/linux/centos-stream-8/http/ks.pkrtpl.hcl | 3 ++- builds/linux/redhat-linux-8/http/ks.pkrtpl.hcl | 3 ++- builds/linux/rocky-linux-8/http/ks.pkrtpl.hcl | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/builds/linux/almalinux-8/http/ks.pkrtpl.hcl b/builds/linux/almalinux-8/http/ks.pkrtpl.hcl index 095a67214..8062fb064 100644 --- a/builds/linux/almalinux-8/http/ks.pkrtpl.hcl +++ b/builds/linux/almalinux-8/http/ks.pkrtpl.hcl @@ -26,4 +26,5 @@ reboot %post yum install -y sudo open-vm-tools perl echo "${build_username} ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers.d/${build_username} -sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers \ No newline at end of file +sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers +%end \ No newline at end of file diff --git a/builds/linux/centos-linux-8/http/ks.pkrtpl.hcl b/builds/linux/centos-linux-8/http/ks.pkrtpl.hcl index 1768a0721..4775a1a3d 100644 --- a/builds/linux/centos-linux-8/http/ks.pkrtpl.hcl +++ b/builds/linux/centos-linux-8/http/ks.pkrtpl.hcl @@ -26,4 +26,5 @@ reboot %post yum install -y sudo open-vm-tools perl echo "${build_username} ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers.d/${build_username} -sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers \ No newline at end of file +sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers +%end \ No newline at end of file diff --git a/builds/linux/centos-stream-8/http/ks.pkrtpl.hcl b/builds/linux/centos-stream-8/http/ks.pkrtpl.hcl index 13aedb7ee..4aa34712e 100644 --- a/builds/linux/centos-stream-8/http/ks.pkrtpl.hcl +++ b/builds/linux/centos-stream-8/http/ks.pkrtpl.hcl @@ -26,4 +26,5 @@ reboot %post yum install -y sudo open-vm-tools perl echo "${build_username} ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers.d/${build_username} -sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers \ No newline at end of file +sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers +%end \ No newline at end of file diff --git a/builds/linux/redhat-linux-8/http/ks.pkrtpl.hcl b/builds/linux/redhat-linux-8/http/ks.pkrtpl.hcl index b01275282..0431e8e60 100644 --- a/builds/linux/redhat-linux-8/http/ks.pkrtpl.hcl +++ b/builds/linux/redhat-linux-8/http/ks.pkrtpl.hcl @@ -26,4 +26,5 @@ reboot %post yum install -y sudo open-vm-tools perl echo "${build_username} ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers.d/${build_username} -sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers \ No newline at end of file +sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers +%end \ No newline at end of file diff --git a/builds/linux/rocky-linux-8/http/ks.pkrtpl.hcl b/builds/linux/rocky-linux-8/http/ks.pkrtpl.hcl index b5c5c0dce..8636d2e40 100644 --- a/builds/linux/rocky-linux-8/http/ks.pkrtpl.hcl +++ b/builds/linux/rocky-linux-8/http/ks.pkrtpl.hcl @@ -26,4 +26,5 @@ reboot %post yum install -y sudo open-vm-tools perl echo "${build_username} ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers.d/${build_username} -sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers \ No newline at end of file +sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers +%end \ No newline at end of file