try this using ansible-pull
This commit is contained in:
parent
1444f05d9c
commit
2b7d4e9c77
9 changed files with 69 additions and 23 deletions
|
@ -56,8 +56,7 @@ function configure_zfs_initrd {
|
|||
# Add 'zfs' to MODULES=()
|
||||
sed -i '/^MODULES=/!b;/zfs/!s/)/zfs)/' /etc/mkinitcpio.conf
|
||||
initrd=/boot/initramfs-linux-lts.img
|
||||
[[ ! -e $initrd || $initrd -ot /etc/mkinitcpio.conf ]] || mkinitcpio -P
|
||||
# ^ only rebuild if initrd image is older than mkinitpio.conf
|
||||
[[ ! -e "$initrd" || "$initrd" -ot /etc/mkinitcpio.conf ]] && mkinitcpio -P
|
||||
}
|
||||
|
||||
function configure_dhcp_ethernet {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue