Skip to content

Commit

Permalink
git submodule update --remote
Browse files Browse the repository at this point in the history
  • Loading branch information
hswong3i committed Jul 18, 2021
1 parent b882d44 commit 1ebcebf
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 23 deletions.
6 changes: 3 additions & 3 deletions packer/libvirt-33/ks.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ part biosboot --size=1 --fstype=biosboot
part /boot --size=512 --fstype=ext4
part swap --size=8192 --fstype=swap
part / --grow --fstype=ext4
bootloader --timeout=1 --append="net.ifnames=0 biosdevname=0"
bootloader --timeout=1 --append="net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0"

services --enabled=sshd --disabled=cloud-init,cloud-init-local,cloud-config,cloud-final

Expand Down Expand Up @@ -63,8 +63,8 @@ chown -Rf root:root /etc/sudoers.d
ssh-keygen -A
systemctl enable sshd.service
sed -ie "s/^GRUB_DEFAULT=.*/GRUB_DEFAULT=\"0\"/g" /etc/default/grub
sed -ie "s/^GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"net.ifnames=0 biosdevname=0\"/g" /etc/default/grub
sed -ie "s/^GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT=\"net.ifnames=0 biosdevname=0\"/g" /etc/default/grub
sed -ie "s/^GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0\"/g" /etc/default/grub
sed -ie "s/^GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT=\"net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0\"/g" /etc/default/grub
grub2-mkconfig -o /boot/grub2/grub.cfg
dracut -f
mkdir -p /etc/ssh/sshd_config.d
Expand Down
2 changes: 1 addition & 1 deletion packer/libvirt-33/packer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"vmlinuz initrd=initrd.img inst.stage2=cdrom quite text <wait5>",
"net.ifnames=0 biosdevname=0 <wait5>",
"net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0 <wait5>",
"inst.ks=http://{{.HTTPIP}}:{{.HTTPPort}}/ks.cfg <wait5>",
"<enter>"
],
Expand Down
6 changes: 3 additions & 3 deletions packer/libvirt-34/ks.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ part biosboot --size=1 --fstype=biosboot
part /boot --size=512 --fstype=ext4
part swap --size=8192 --fstype=swap
part / --grow --fstype=ext4
bootloader --timeout=1 --append="net.ifnames=0 biosdevname=0"
bootloader --timeout=1 --append="net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0"

services --enabled=sshd --disabled=cloud-init,cloud-init-local,cloud-config,cloud-final

Expand Down Expand Up @@ -63,8 +63,8 @@ chown -Rf root:root /etc/sudoers.d
ssh-keygen -A
systemctl enable sshd.service
sed -ie "s/^GRUB_DEFAULT=.*/GRUB_DEFAULT=\"0\"/g" /etc/default/grub
sed -ie "s/^GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"net.ifnames=0 biosdevname=0\"/g" /etc/default/grub
sed -ie "s/^GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT=\"net.ifnames=0 biosdevname=0\"/g" /etc/default/grub
sed -ie "s/^GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0\"/g" /etc/default/grub
sed -ie "s/^GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT=\"net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0\"/g" /etc/default/grub
grub2-mkconfig -o /boot/grub2/grub.cfg
dracut -f
mkdir -p /etc/ssh/sshd_config.d
Expand Down
2 changes: 1 addition & 1 deletion packer/libvirt-34/packer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"vmlinuz initrd=initrd.img inst.stage2=cdrom quite text <wait5>",
"net.ifnames=0 biosdevname=0 <wait5>",
"net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0 <wait5>",
"inst.ks=http://{{.HTTPIP}}:{{.HTTPPort}}/ks.cfg <wait5>",
"<enter>"
],
Expand Down
6 changes: 3 additions & 3 deletions packer/virtualbox-33/ks.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ part biosboot --size=1 --fstype=biosboot
part /boot --size=512 --fstype=ext4
part swap --size=8192 --fstype=swap
part / --grow --fstype=ext4
bootloader --timeout=1 --append="net.ifnames=0 biosdevname=0"
bootloader --timeout=1 --append="net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0"

services --enabled=sshd --disabled=cloud-init,cloud-init-local,cloud-config,cloud-final

Expand Down Expand Up @@ -63,8 +63,8 @@ chown -Rf root:root /etc/sudoers.d
ssh-keygen -A
systemctl enable sshd.service
sed -ie "s/^GRUB_DEFAULT=.*/GRUB_DEFAULT=\"0\"/g" /etc/default/grub
sed -ie "s/^GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"net.ifnames=0 biosdevname=0\"/g" /etc/default/grub
sed -ie "s/^GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT=\"net.ifnames=0 biosdevname=0\"/g" /etc/default/grub
sed -ie "s/^GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0\"/g" /etc/default/grub
sed -ie "s/^GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT=\"net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0\"/g" /etc/default/grub
grub2-mkconfig -o /boot/grub2/grub.cfg
dracut -f
mkdir -p /etc/ssh/sshd_config.d
Expand Down
2 changes: 1 addition & 1 deletion packer/virtualbox-33/packer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"vmlinuz initrd=initrd.img inst.stage2=cdrom quite text <wait5>",
"net.ifnames=0 biosdevname=0 <wait5>",
"net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0 <wait5>",
"inst.ks=http://{{.HTTPIP}}:{{.HTTPPort}}/ks.cfg <wait5>",
"<enter>"
],
Expand Down
6 changes: 3 additions & 3 deletions packer/virtualbox-34/ks.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ part biosboot --size=1 --fstype=biosboot
part /boot --size=512 --fstype=ext4
part swap --size=8192 --fstype=swap
part / --grow --fstype=ext4
bootloader --timeout=1 --append="net.ifnames=0 biosdevname=0"
bootloader --timeout=1 --append="net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0"

services --enabled=sshd --disabled=cloud-init,cloud-init-local,cloud-config,cloud-final

Expand Down Expand Up @@ -63,8 +63,8 @@ chown -Rf root:root /etc/sudoers.d
ssh-keygen -A
systemctl enable sshd.service
sed -ie "s/^GRUB_DEFAULT=.*/GRUB_DEFAULT=\"0\"/g" /etc/default/grub
sed -ie "s/^GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"net.ifnames=0 biosdevname=0\"/g" /etc/default/grub
sed -ie "s/^GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT=\"net.ifnames=0 biosdevname=0\"/g" /etc/default/grub
sed -ie "s/^GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0\"/g" /etc/default/grub
sed -ie "s/^GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT=\"net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0\"/g" /etc/default/grub
grub2-mkconfig -o /boot/grub2/grub.cfg
dracut -f
mkdir -p /etc/ssh/sshd_config.d
Expand Down
2 changes: 1 addition & 1 deletion packer/virtualbox-34/packer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"vmlinuz initrd=initrd.img inst.stage2=cdrom quite text <wait5>",
"net.ifnames=0 biosdevname=0 <wait5>",
"net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0 <wait5>",
"inst.ks=http://{{.HTTPIP}}:{{.HTTPPort}}/ks.cfg <wait5>",
"<enter>"
],
Expand Down
4 changes: 2 additions & 2 deletions playbooks/tasks/debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
state: "present"
loop:
- { option: "GRUB_DEFAULT", value: "0" }
- { option: "GRUB_CMDLINE_LINUX", value: "net.ifnames=0 biosdevname=0" }
- { option: "GRUB_CMDLINE_LINUX_DEFAULT", value: "net.ifnames=0 biosdevname=0" }
- { option: "GRUB_CMDLINE_LINUX", value: "net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0" }
- { option: "GRUB_CMDLINE_LINUX_DEFAULT", value: "net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0" }

- name: update-grub
command: update-grub
Expand Down
4 changes: 2 additions & 2 deletions playbooks/tasks/redhat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
state: "present"
loop:
- { option: "GRUB_DEFAULT", value: "0" }
- { option: "GRUB_CMDLINE_LINUX", value: "net.ifnames=0 biosdevname=0" }
- { option: "GRUB_CMDLINE_LINUX_DEFAULT", value: "net.ifnames=0 biosdevname=0" }
- { option: "GRUB_CMDLINE_LINUX", value: "net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0" }
- { option: "GRUB_CMDLINE_LINUX_DEFAULT", value: "net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0" }

- name: grub2-mkconfig -o /boot/grub2/grub.cfg
command: grub2-mkconfig -o /boot/grub2/grub.cfg
Expand Down
4 changes: 2 additions & 2 deletions playbooks/tasks/suse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
state: "present"
loop:
- { option: "GRUB_DEFAULT", value: "0" }
- { option: "GRUB_CMDLINE_LINUX", value: "net.ifnames=0 biosdevname=0" }
- { option: "GRUB_CMDLINE_LINUX_DEFAULT", value: "net.ifnames=0 biosdevname=0" }
- { option: "GRUB_CMDLINE_LINUX", value: "net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0" }
- { option: "GRUB_CMDLINE_LINUX_DEFAULT", value: "net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0" }

- name: grub2-mkconfig -o /boot/grub2/grub.cfg
command: grub2-mkconfig -o /boot/grub2/grub.cfg
Expand Down
2 changes: 1 addition & 1 deletion roles/sshd

0 comments on commit 1ebcebf

Please sign in to comment.