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
|
sed -e "s,%USER%,$USER,g" -i $TEMPFILE
|
||||||
chmod 0440 $TEMPFILE
|
chmod 0440 $TEMPFILE
|
||||||
sudo chown root:root $TEMPFILE
|
sudo chown root:root $TEMPFILE
|
||||||
sudo cp -p $TEMPFILE /etc/sudoers.d/stack_sh_nova
|
sudo mv $TEMPFILE /etc/sudoers.d/stack_sh_nova
|
||||||
sudo rm $TEMPFILE
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Set the destination directories for openstack projects
|
# Set the destination directories for openstack projects
|
||||||
|
|
Loading…
Reference in a new issue