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 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
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue