]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commit
cobbler: Allow ifdown to fail during rc.local 478/head
authorDavid Galloway <dgallowa@redhat.com>
Thu, 10 Oct 2019 17:20:36 +0000 (13:20 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Thu, 10 Oct 2019 17:20:36 +0000 (13:20 -0400)
commite6d074b6fcf792d2ab9dc6ff2b0ed325be2698e0
treee8cd1fac38836ffe49d837d9863c32222e4df49e
parentd366056f184a489a3dc46aea6702a16cd91c2af1
cobbler: Allow ifdown to fail during rc.local

Behavior changed in RHEL8.  See example below.

```
+ ifdown enp3s0f1
Error: '/etc/sysconfig/network-scripts/ifcfg-enp3s0f1' is not an active connection.
Error: no active connection provided.
```

Then the script would quit.

Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/cobbler/templates/snippets/cephlab_rc_local