ceph/teuthology/task/edit_sudoers.sh
Warren Usui 8129bffb17 Implement full reinstallation of a VM system.
Downburst create is used to reinstall a VM when it is locked.
Downburst destroy is used to remove a VM when it is unlocked.
Host keys are regenerated on each vm instantiation, so the keys
need to be checked prior to use.
If needed, qa-ceph-chef is run on newly installed systems to insure that
they are fully functional.

Signed-off-by: Warren Usui <warren.usui@inktank.com>
2013-04-03 12:29:47 -07:00

11 lines
119 B
Bash
Executable File

#! /bin/sh
sudo vi -e /etc/sudoers <<EOF
g/ requiretty/s// !requiretty/
g/ !visiblepw/s// visiblepw/
w!
q
EOF
exit