vm: Fix modules blacklisting
This commit is contained in:
parent
92f4e67eaa
commit
310c137f25
@ -215,7 +215,7 @@ mkdir -p /rw
|
|||||||
#grep -v HWADDR /etc/sysconfig/network-scripts/ifcfg-eth0.orig > /etc/sysconfig/network-scripts/ifcfg-eth0
|
#grep -v HWADDR /etc/sysconfig/network-scripts/ifcfg-eth0.orig > /etc/sysconfig/network-scripts/ifcfg-eth0
|
||||||
|
|
||||||
# Prevent unnecessary updates in VMs:
|
# Prevent unnecessary updates in VMs:
|
||||||
echo 'exclude = kernel, xorg-*' >> yum.conf
|
echo 'exclude = kernel, xorg-*' >> /etc/yum.conf
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ "$1" = 0 ] ; then
|
if [ "$1" = 0 ] ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user