rescue/bash

This commit is contained in:
Marc Beninca 2024-11-11 11:57:19 +01:00
parent d2ba729c13
commit cc8ca58cff
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -1,4 +1,6 @@
function ovh-rescue-configure { #! /usr/bin/env bash
ovh_rescue_configure() {
local host="${1}" local host="${1}"
local packages=( local packages=(
'byobu' 'mosh' 'byobu' 'mosh'
@ -119,8 +121,8 @@ function ovh-rescue-wipe-1-2TB {
local unit='mib' local unit='mib'
# #
lsblk lsblk
echo -n 'WIPE' "${device}" '/?\ OR CANCEL /!\' echo -n 'WIPE' "${device}" "/?\\ OR CANCEL /!\\"
read read -r
# #
parted "${device}" --script mktable gpt parted "${device}" --script mktable gpt
# #