remove leftover network-realted files
This commit is contained in:
parent
b2609a3926
commit
3ad813b09f
@ -11,8 +11,9 @@ curl 'https://git.resf.org/thefossguy/rocky-linux-generic-images/raw/branch/r9/s
|
||||
[ -f /usr/local/bin/expand-rootfs.sh ] && \
|
||||
chmod --verbose +x /usr/local/bin/expand-rootfs.sh
|
||||
|
||||
# Remove 'ifcfg-link' on generated images
|
||||
# Remove all network connections and/or links
|
||||
rm -v -f /etc/sysconfig/network-scripts/ifcfg-link
|
||||
rm -v -f /etc/NetworkManager/system-connections/*.nmconnection
|
||||
|
||||
# Remove the temporary 'resolv.conf' file
|
||||
rm -v -f /etc/resolv.conf
|
||||
|
Loading…
Reference in New Issue
Block a user