mirror of
https://github.com/suikan4github/kaiten-yaki.git
synced 2025-12-20 02:21:17 -03:00
fix the bug of the parainstall position
This commit is contained in:
parent
d51c88949b
commit
88270a7fed
6 changed files with 14 additions and 14 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/bash -u
|
||||
# *******************************************************************************
|
||||
# Confirmation and Passphrase setting
|
||||
# *******************************************************************************
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/bash -u
|
||||
# *******************************************************************************
|
||||
# Common part of para-install
|
||||
# *******************************************************************************
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/bash -u
|
||||
|
||||
function parainstall_msg() {
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/bash -u
|
||||
# *******************************************************************************
|
||||
# Pre-install stage
|
||||
# *******************************************************************************
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/bash -u
|
||||
|
||||
# Load configuration parameter
|
||||
source config.sh
|
||||
|
|
@ -71,9 +71,7 @@ fi
|
|||
# *******************************************************************************
|
||||
|
||||
# Show common message to let the operator focus on the critical part
|
||||
if ! parainstall ; then
|
||||
return 1
|
||||
fi
|
||||
parainstall_msg
|
||||
|
||||
# Ubuntu dependent message
|
||||
cat <<HEREDOC
|
||||
|
|
@ -98,7 +96,9 @@ installer_pid=$!
|
|||
# Common part of the para-install.
|
||||
# Record the install PID, modify the /etc/default/grub of the target,
|
||||
# and then, wait for the end of sintaller.
|
||||
parainstall_msg
|
||||
if ! parainstall ; then
|
||||
return 1
|
||||
fi
|
||||
|
||||
# *******************************************************************************
|
||||
# Post-install stage
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/bash -u
|
||||
|
||||
# Load configuration parameter
|
||||
source config.sh
|
||||
|
|
@ -85,10 +85,7 @@ sed -i "s#loglevel=4#loglevel=4 rd.auto=1 cryptdevice=/dev/sda2:${LUKS_NAME} roo
|
|||
# *******************************************************************************
|
||||
|
||||
# Show common message to let the operator focus on the critical part
|
||||
if ! parainstall ; then
|
||||
return 1
|
||||
fi
|
||||
|
||||
parainstall_msg
|
||||
# Ubuntu dependent message
|
||||
cat <<HEREDOC
|
||||
|
||||
|
|
@ -116,7 +113,9 @@ installer_pid=$!
|
|||
# Common part of the para-install.
|
||||
# Record the install PID, modify the /etc/default/grub of the target,
|
||||
# and then, wait for the end of sintaller.
|
||||
source common/_parainstall.sh
|
||||
if ! parainstall ; then
|
||||
return 1
|
||||
fi
|
||||
|
||||
# *******************************************************************************
|
||||
# Post-install stage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue