vmcheck: Add vm_shell_inline
Initially suggested in #1298. Wanted to try this out for an upcoming patch. Closes: #1304 Approved by: cgwalters
This commit is contained in:
parent
3e39fda4aa
commit
2eb424b9ce
@ -49,6 +49,14 @@ EOF
|
||||
rm -f ${playbook}
|
||||
}
|
||||
|
||||
vm_shell_inline() {
|
||||
vm_ansible_inline <<EOF
|
||||
- shell: |
|
||||
set -xeuo pipefail
|
||||
$(sed -e 's,^, ,')
|
||||
EOF
|
||||
}
|
||||
|
||||
# rsync wrapper that sets up authentication
|
||||
vm_raw_rsync() {
|
||||
local rsyncopts="ssh -o User=root"
|
||||
|
Loading…
Reference in New Issue
Block a user