Commit c24ef3e2 authored by Elvin Sindrilaru's avatar Elvin Sindrilaru
Browse files

Ask for root role when executing configuration commands

parent 9feed085
Pipeline #1578802 skipped with stage
......@@ -61,7 +61,7 @@ echo "${id}" > $DATADIR/.eosfsid
chown -R daemon:daemon $DATADIR
# Give some time to the FST to start and then register with the MGM
sleep 1
eos -b fs add -m ${id} $UUID $FSTHOSTNAME:1095 $DATADIR spare $CONFIG
eos -b fs mv --force ${id} $SPACE
eos -b node set $FSTHOSTNAME:1095 on
eos -b -r 0 0 fs add -m ${id} $UUID $FSTHOSTNAME:1095 $DATADIR spare $CONFIG
eos -b -r 0 0 fs mv --force ${id} $SPACE
eos -b -r 0 0 node set $FSTHOSTNAME:1095 on
echo "Configuration done for fst${id}"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment