Commit bb05e8de authored by Jonathan Bryant's avatar Jonathan Bryant 💬

Update distro.sh

parent 022697e0
......@@ -14,7 +14,7 @@ get_file() {
# Workaround for the read protected files at rest.
local PATH="/mnt/stateful/lxd/devices/penguin/disk.$1.dev-.$1"
if [ -f $PATH ]; then
echo "$(cat $PATH)""
echo "$(cat $PATH)"
else
echo "Cannot find $1."
exit 1
......@@ -31,7 +31,7 @@ values_penguin() {
user_penguin() {
check_penguin
USER=`lxc exec penguin -- ls /home`
USER="$(lxc exec penguin -- ls /home)"
echo "${USER[0]}"
}
......
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