Skip to content

Commit 2a00f8f

Browse files
committed
adding paths to a few commands for bug 9319
1 parent a748ddf commit 2a00f8f

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

client/bindir/cloud-setup-management.in

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,15 +129,15 @@ def checkselinux():
129129

130130

131131
ip = Command("ip")
132-
service = Command("service")
133-
chkconfig = Command("chkconfig")
132+
service = Command("/sbin/service")
133+
chkconfig = Command("/sbin/chkconfig")
134134
updatercd = Command("update-rc.d")
135135
ufw = Command("ufw")
136-
iptables = Command("iptables")
137-
iptables_save = Command("iptables-save")
136+
iptables = Command("/sbin/iptables")
137+
iptables_save = Command("/sbin/iptables-save")
138138
augtool = Command("augtool")
139139
kvmok = Command("kvm-ok")
140-
ifconfig = Command("ifconfig")
140+
ifconfig = Command("/sbin/ifconfig")
141141
uuidgen = Command("uuidgen")
142142

143143
Fedora = os.path.exists("/etc/fedora-release")

0 commit comments

Comments
 (0)