Fix typo
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
This commit is contained in:
parent
92bf69f4f3
commit
f4ac509665
|
@ -40,12 +40,6 @@ function reuseSSHKey(){
|
||||||
ssh-keygen -y -f $keyfile -P "" || true # will fail in the end, so script will continue and clean up the mess
|
ssh-keygen -y -f $keyfile -P "" || true # will fail in the end, so script will continue and clean up the mess
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
root=/data/$dir_prefix-$read_project_name
|
|
||||||
# start generating config
|
|
||||||
mkdir -p $root/config
|
|
||||||
createConfigFile $root/config/cloner.cfg
|
|
||||||
|
|
||||||
# use ssh config?
|
# use ssh config?
|
||||||
echo -n "Would you like to use SSH auth? ([C]reate new key/[U]se existing key/[N]o) [C/u/n]: "
|
echo -n "Would you like to use SSH auth? ([C]reate new key/[U]se existing key/[N]o) [C/u/n]: "
|
||||||
read read_ssh
|
read read_ssh
|
||||||
|
|
|
@ -75,7 +75,7 @@ def gen_config_file(
|
||||||
log.info("Creating detector.cfg")
|
log.info("Creating detector.cfg")
|
||||||
conf_file = conf_dir.joinpath("detector.cfg")
|
conf_file = conf_dir.joinpath("detector.cfg")
|
||||||
conf_file.write_text(
|
conf_file.write_text(
|
||||||
"# this file is config for detector\n""
|
"# this file is config for detector\n"
|
||||||
"# now, it is empty - to disable detector, just delete it!\n"
|
"# now, it is empty - to disable detector, just delete it!\n"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user