File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -33,10 +33,6 @@ subscription-manager register --force --auto-attach --username={{ .RHNUser }} --
3333{{end}}
3434yum update -y && yum install -y yum-utils
3535yum install -y cloud-init
36- ln -s /usr/lib/systemd/system/cloud-init-local.service /etc/systemd/system/multi-user.target.wants/cloud-init-local.service
37- ln -s /usr/lib/systemd/system/cloud-init.service /etc/systemd/system/multi-user.target.wants/cloud-init.service
38- ln -s /usr/lib/systemd/system/cloud-config.service /etc/systemd/system/multi-user.target.wants/cloud-config.service
39- ln -s /usr/lib/systemd/system/cloud-final.service /etc/systemd/system/multi-user.target.wants/cloud-final.service
4036rm -rf /etc/systemd/system/multi-user.target.wants/firewalld.service
4137rpm -vih --nodeps http://public.dhe.ibm.com/software/server/POWER/Linux/yum/download/ibm-power-repo-latest.noarch.rpm
4238sed -i 's/^more \/opt\/ibm\/lop\/notice/#more \/opt\/ibm\/lop\/notice/g' /opt/ibm/lop/configure
@@ -163,26 +159,6 @@ datasource:
163159 dsmode: local
164160###############################################
165161
166- ######################################################################################################################
167- ### Change 4: Disable the network config in cloud-init post deployment, known issue when deployed with multipath disks
168- write_files:
169- - path: /usr/local/bin/disable_cloud_init_nw.sh
170- permissions: 0755
171- owner: root
172- content: |
173- #!/usr/bin/env bash
174- set -e
175- cat <<EOF > /etc/cloud/cloud.cfg.d/01_disable_cloud_nw.cfg
176- #cloud-config
177- network:
178- config: disabled
179- EOF
180-
181- runcmd:
182- - bash /usr/local/bin/disable_cloud_init_nw.sh
183-
184- ######################################################################################################################
185-
186162# vim:syntax=yaml
187163`
188164
You can’t perform that action at this time.
0 commit comments