3-xen-orchestra-install #4

Merged
hygienic-books merged 84 commits from 3-xen-orchestra-install into main 2023-10-22 14:23:54 +00:00
Showing only changes of commit 29a5ede899 - Show all commits

View File

@ -13,10 +13,6 @@ trap '[ "$?" -ne 77 ] || exit 77' ERR
declare zpool_drive efi_drive declare zpool_drive efi_drive
function set_ntp () {
timedatectl set-ntp true
}
function we_are_changerooted () { function we_are_changerooted () {
if [ "$(stat -c '%d:%i' '/')" != "$(stat -c '%d:%i' '/proc/1/root/.')" ]; then if [ "$(stat -c '%d:%i' '/')" != "$(stat -c '%d:%i' '/proc/1/root/.')" ]; then
return 0 return 0
@ -25,6 +21,10 @@ function we_are_changerooted () {
fi fi
} }
function set_ntp () {
timedatectl set-ntp true
}
function update_pacman_db () { function update_pacman_db () {
printf -- '%s\n' 'Refreshing mirror list ...' printf -- '%s\n' 'Refreshing mirror list ...'
systemctl start reflector systemctl start reflector