rescue/bash
This commit is contained in:
parent
d2ba729c13
commit
cc8ca58cff
1 changed files with 5 additions and 3 deletions
|
@ -1,4 +1,6 @@
|
|||
function ovh-rescue-configure {
|
||||
#! /usr/bin/env bash
|
||||
|
||||
ovh_rescue_configure() {
|
||||
local host="${1}"
|
||||
local packages=(
|
||||
'byobu' 'mosh'
|
||||
|
@ -119,8 +121,8 @@ function ovh-rescue-wipe-1-2TB {
|
|||
local unit='mib'
|
||||
#
|
||||
lsblk
|
||||
echo -n 'WIPE' "${device}" '/?\ OR CANCEL /!\'
|
||||
read
|
||||
echo -n 'WIPE' "${device}" "/?\\ OR CANCEL /!\\"
|
||||
read -r
|
||||
#
|
||||
parted "${device}" --script mktable gpt
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue