/etc/tuned/active_profile isnt there
This commit is contained in:
parent
0470edcf68
commit
c12b03da9c
@ -128,7 +128,9 @@ function common_cloud_steps() {
|
|||||||
sed -i '/^#NAutoVTs=.*/ a\
|
sed -i '/^#NAutoVTs=.*/ a\
|
||||||
NAutoVTs=0' /etc/systemd/logind.conf
|
NAutoVTs=0' /etc/systemd/logind.conf
|
||||||
truncate -s 0 /etc/resolv.conf
|
truncate -s 0 /etc/resolv.conf
|
||||||
echo "virtual-guest" > /etc/tuned/active_profile
|
if [ -f /etc/tuned/active_profile ]; then
|
||||||
|
echo "virtual-guest" > /etc/tuned/active_profile
|
||||||
|
fi
|
||||||
rm -f /etc/udev/rules.d/70*
|
rm -f /etc/udev/rules.d/70*
|
||||||
ln -s /dev/null /etc/udev/rules.d/80-net-name-slot.rules
|
ln -s /dev/null /etc/udev/rules.d/80-net-name-slot.rules
|
||||||
cat > /etc/sysconfig/network << EOF
|
cat > /etc/sysconfig/network << EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user