19-define-os-ip #24

Merged
hygienic-books merged 23 commits from 19-define-os-ip into main 2023-11-12 03:26:37 +00:00
Showing only changes of commit d74fc097eb - Show all commits

View File

@ -1431,7 +1431,7 @@ function configure_dns () {
# Optionally you may want /etc/systemd/network/50-wired.network to use # Optionally you may want /etc/systemd/network/50-wired.network to use
# UseDNS=no and hardcode DNS server(s) here: # UseDNS=no and hardcode DNS server(s) here:
# sed -i 's/^#DNS=.*/DNS=1.1.1.1/' /mnt/etc/systemd/resolved.conf # sed -i 's/^#DNS=.*/DNS=1.1.1.1/' /mnt/etc/systemd/resolved.conf
systemctl enable 'systemd-resolved' --root='/mnt' systemctl enable 'systemd-resolved.service' --root='/mnt'
} }
function configure_reflector () { function configure_reflector () {
@ -1441,7 +1441,7 @@ function configure_reflector () {
function configure_zfs () { function configure_zfs () {
#3.6 #3.6
systemctl enable 'zfs-import-cache' 'zfs-mount' 'zfs-import.target' 'zfs.target' --root='/mnt' systemctl enable 'zfs-import-cache.service' 'zfs-mount.service' 'zfs-import.target' 'zfs.target' --root='/mnt'
} }
function configure_zfs_mount_gen () { function configure_zfs_mount_gen () {