Merge "Debian: remove grubby workarounds"
This commit is contained in:
commit
7ed34a3a76
@ -1,11 +1,3 @@
|
||||
# UBR 1: disable drubby commands
|
||||
bifile='/home/sysadmin/.ubr1'
|
||||
if [ ! -f ${bifile} ]; then
|
||||
sed -i '3,31d' /usr/share/puppet/modules/platform/manifests/grub.pp
|
||||
sed -i '70,85d' /usr/share/puppet/modules/platform/manifests/compute.pp
|
||||
touch ${bifile}
|
||||
fi
|
||||
|
||||
# UBR 2: don't start collectd
|
||||
bifile='/home/sysadmin/.ubr2'
|
||||
if [ ! -f ${bifile} ]; then
|
||||
|
@ -60,15 +60,6 @@ fi
|
||||
# BI 25: ignore puppet apply warnings until we fix them
|
||||
sed -i 's@Warning|@MMAAAAAAAAAASKED|@g' /usr/local/bin/puppet-manifest-apply.sh
|
||||
|
||||
# BI 27: workaround remove grubby commands
|
||||
bifile='/home/sysadmin/.27'
|
||||
if [ ! -f ${bifile} ]; then
|
||||
A=$(grep -Rn "Get grub default kernel" /usr/share/ansible/stx-ansible/playbooks/roles/bootstrap/persist-config/tasks/one_time_config_tasks.yml | awk -F':' '{print $1}')
|
||||
B=$((A + 8))
|
||||
sed -i ${A}','${B}'d ' /usr/share/ansible/stx-ansible/playbooks/roles/bootstrap/persist-config/tasks/one_time_config_tasks.yml
|
||||
touch ${bifile}
|
||||
fi
|
||||
|
||||
# BI 36: first puppet runtime apply
|
||||
bifile='/home/sysadmin/.bi36'
|
||||
if [ ! -f ${bifile} ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user