Change cp -p to mv.
This commit is contained in:
parent
0a16145a93
commit
f8c4684b6c
1 changed files with 1 additions and 2 deletions
3
stack.sh
3
stack.sh
|
@ -139,8 +139,7 @@ else
|
|||
sed -e "s,%USER%,$USER,g" -i $TEMPFILE
|
||||
chmod 0440 $TEMPFILE
|
||||
sudo chown root:root $TEMPFILE
|
||||
sudo cp -p $TEMPFILE /etc/sudoers.d/stack_sh_nova
|
||||
sudo rm $TEMPFILE
|
||||
sudo mv $TEMPFILE /etc/sudoers.d/stack_sh_nova
|
||||
fi
|
||||
|
||||
# Set the destination directories for openstack projects
|
||||
|
|
Loading…
Reference in a new issue