typo
This commit is contained in:
parent
509992fe4c
commit
84a399b43d
1 changed files with 2 additions and 2 deletions
4
stack.sh
4
stack.sh
|
@ -120,8 +120,8 @@ else
|
||||||
# Our user needs passwordless priviledges for certain commands which nova
|
# Our user needs passwordless priviledges for certain commands which nova
|
||||||
# uses internally.
|
# uses internally.
|
||||||
# Natty uec images sudoers does not have a '#includedir'. add one.
|
# Natty uec images sudoers does not have a '#includedir'. add one.
|
||||||
sudo grep -q "^#includedir.*/etc/nsudoers.d" /etc/sudoers ||
|
sudo grep -q "^#includedir.*/etc/sudoers.d" /etc/sudoers ||
|
||||||
echo "#includedir /etc/nsudoers.d" | sudo tee -a /etc/sudoers
|
echo "#includedir /etc/sudoers.d" | sudo tee -a /etc/sudoers
|
||||||
sudo cp $FILES/sudo/nova /etc/sudoers.d/stack_sh_nova
|
sudo cp $FILES/sudo/nova /etc/sudoers.d/stack_sh_nova
|
||||||
sudo sed -e "s,%USER%,$USER,g" -i /etc/sudoers.d/stack_sh_nova
|
sudo sed -e "s,%USER%,$USER,g" -i /etc/sudoers.d/stack_sh_nova
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue