From f6eefebb3b4b3f11c4500563a7f888d59eb921d8 Mon Sep 17 00:00:00 2001 From: Jan Orel Date: Wed, 25 Oct 2023 17:10:01 +0200 Subject: [PATCH] M #-: Remove obsolete func --- minione | 6 ------ 1 file changed, 6 deletions(-) diff --git a/minione b/minione index 15b1920..e19d905 100755 --- a/minione +++ b/minione @@ -1281,12 +1281,6 @@ aug_set() { augtool -s set "/files$CONF/$KEY" "'$VALUE'" >/dev/null } -switch_to_qemu() { - LINE_NUM=$(grep -n '^VM_MAD =' -A 10 /etc/one/oned.conf | - grep -E '^[0-9]+-\s*TYPE' | grep kvm | awk -F- '{print $1}') - sed -i "${LINE_NUM}s/kvm/qemu/" /etc/one/oned.conf -} - set_init_password() { [[ ! -d $HOME/.one ]] && { mkdir "$HOME"/.one || return 1; } echo "oneadmin:$PASSWORD" >"$HOME"/.one/one_auth || return 1