wip
This commit is contained in:
parent
4bec3cb457
commit
fa48408251
1 changed files with 6 additions and 6 deletions
12
entry.sh
12
entry.sh
|
@ -5,7 +5,7 @@ function first_stage(){
|
||||||
set -e
|
set -e
|
||||||
echo foo first_stage
|
echo foo first_stage
|
||||||
|
|
||||||
apt install debootstrap
|
apt install debootstrap partprobe
|
||||||
|
|
||||||
lsblk -ftpo NAME,FSTYPE,LABEL,UUID,FSAVAIL,MOUNTPOINT
|
lsblk -ftpo NAME,FSTYPE,LABEL,UUID,FSAVAIL,MOUNTPOINT
|
||||||
select DEVICE in $(lsblk -frpno NAME); do
|
select DEVICE in $(lsblk -frpno NAME); do
|
||||||
|
@ -18,17 +18,17 @@ function first_stage(){
|
||||||
(
|
(
|
||||||
echo o
|
echo o
|
||||||
echo n
|
echo n
|
||||||
echo
|
echo p
|
||||||
echo
|
echo 1
|
||||||
echo
|
echo
|
||||||
echo +2G
|
echo +2G
|
||||||
echo n
|
echo n
|
||||||
|
echo p
|
||||||
|
echo 2
|
||||||
echo
|
echo
|
||||||
echo
|
echo
|
||||||
echo
|
|
||||||
echo w
|
echo w
|
||||||
) | fdisk ${DEVICE}
|
) | fdisk ${DEVICE}
|
||||||
partprobe
|
|
||||||
|
|
||||||
lsblk
|
lsblk
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue