Skip to content
Snippets Groups Projects
Commit 48117685 authored by Krish Moodbidri's avatar Krish Moodbidri
Browse files

test sed command with sudo

parent 794572dc
No related branches found
No related tags found
2 merge requests!6Add CD feature to the repo,!1wip: test-keypair without file
Pipeline #8075 failed with stages
in 8 seconds
......@@ -152,7 +152,8 @@ resource "null_resource" "ops" {
provisioner "remote-exec" {
inline = [
"sed -i -E 's/(ServerName ).*/\1xdmod.rc.uab.edu/' /etc/httpd/conf.d/xdmod.conf",
#"sed -i -E 's/(ServerName ).*/\1xdmod.rc.uab.edu/' /etc/httpd/conf.d/xdmod.conf",
'sudo sed -i -E "s/(ServerName: ).*/\1xdmod.rc.uab.edu/" /etc/httpd/conf.d/xdmod.conf'
]
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment