fix
This commit is contained in:
parent
63767b293d
commit
e7127529e7
1 changed files with 4 additions and 1 deletions
|
@ -166,7 +166,10 @@ function partioniere() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function partitionieredual() {
|
function partitionieredual() {
|
||||||
|
if blkid -s PARTUUID -o value ${device}${rootpartitionnummer}; then
|
||||||
|
echo "entferne partition"
|
||||||
sgdisk -d ${rootpartitionnummer} ${device}
|
sgdisk -d ${rootpartitionnummer} ${device}
|
||||||
|
fi
|
||||||
sgdisk -a 2048 -n ${rootpartitionnummer}:: -c ${rootpartitionnummer}:"Linux filesystem" -t ${rootpartitionnummer}:8300 ${device}
|
sgdisk -a 2048 -n ${rootpartitionnummer}:: -c ${rootpartitionnummer}:"Linux filesystem" -t ${rootpartitionnummer}:8300 ${device}
|
||||||
formatencrypt
|
formatencrypt
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue