/etc/tuned/active_profile isnt there
This commit is contained in:
parent
0470edcf68
commit
c12b03da9c
1 changed files with 3 additions and 1 deletions
|
@ -128,7 +128,9 @@ function common_cloud_steps() {
|
|||
sed -i '/^#NAutoVTs=.*/ a\
|
||||
NAutoVTs=0' /etc/systemd/logind.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*
|
||||
ln -s /dev/null /etc/udev/rules.d/80-net-name-slot.rules
|
||||
cat > /etc/sysconfig/network << EOF
|
||||
|
|
Loading…
Reference in a new issue