Compare commits
3 commits
e6bac83e02
...
14c6dae001
Author | SHA1 | Date | |
---|---|---|---|
|
14c6dae001 | ||
|
6307f7e62f | ||
|
37192f9dff |
3 changed files with 5 additions and 5 deletions
|
@ -9,7 +9,7 @@
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
deuxfleurs.hostName = "caribou";
|
deuxfleurs.hostName = "caribou";
|
||||||
deuxfleurs.staticIPv6.address = "2001:910:1204:1::23";
|
deuxfleurs.staticIPv6.address = "2a01:e0a:2c:540::23";
|
||||||
deuxfleurs.isRaftServer = true;
|
deuxfleurs.isRaftServer = true;
|
||||||
|
|
||||||
system.stateVersion = "21.05";
|
system.stateVersion = "21.05";
|
||||||
|
|
6
sshtool
6
sshtool
|
@ -26,7 +26,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$ROOT_PASS" ]; then
|
if [ -z "$ROOT_PASS" ]; then
|
||||||
read -s -p "Enter remote sudo password: " ROOT_PASS
|
read -r -s -p "Enter remote sudo password: " ROOT_PASS
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -37,11 +37,11 @@ function header {
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
cat > /tmp/deploytool_askpass_$RANDNAME <<EOG
|
cat > /tmp/deploytool_askpass_$RANDNAME <<EOG
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
echo "\\\$DEPLOYTOOL_ROOT_PASSWORD"
|
echo "\\\$DEPLOYTOOL_ROOT_PASSWORD" | base64 -d
|
||||||
EOG
|
EOG
|
||||||
chmod +x /tmp/deploytool_askpass_$RANDNAME
|
chmod +x /tmp/deploytool_askpass_$RANDNAME
|
||||||
export SUDO_ASKPASS=/tmp/deploytool_askpass_$RANDNAME
|
export SUDO_ASKPASS=/tmp/deploytool_askpass_$RANDNAME
|
||||||
export DEPLOYTOOL_ROOT_PASSWORD="$ROOT_PASS"
|
export DEPLOYTOOL_ROOT_PASSWORD=$(echo $ROOT_PASS | base64)
|
||||||
sudo -A sh - <<'EOEVERYTHING'
|
sudo -A sh - <<'EOEVERYTHING'
|
||||||
set -e
|
set -e
|
||||||
EOF
|
EOF
|
||||||
|
|
2
tlsproxy
2
tlsproxy
|
@ -7,7 +7,7 @@ set -xe
|
||||||
cd $(dirname $0)
|
cd $(dirname $0)
|
||||||
|
|
||||||
CLUSTER="$1"
|
CLUSTER="$1"
|
||||||
if [ ! -d "cluster/$CLUSTER" ]; then
|
if [ ! -d "cluster/$CLUSTER" ] || [ -z "$CLUSTER" ]; then
|
||||||
echo "Usage: $0 <cluster name>"
|
echo "Usage: $0 <cluster name>"
|
||||||
echo "The cluster name must be the name of a subdirectory of cluster/"
|
echo "The cluster name must be the name of a subdirectory of cluster/"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue