nbde: fix this with proper fixes
My last commit wasn't correct. It turns out we still need to: a) drop the dracut made bogus "Wired Connection". We do this in nbde_client-network-flush by removing the default connection file. b) We also need to tell NetworkManager to not make 'Wired Connection 43' for any non configured interfaces. We only want to use the ones we configure and not any of the others that may or may not have link. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
c4c7c0963f
commit
1c792cf8c1
2 changed files with 12 additions and 7 deletions
|
@ -1,3 +0,0 @@
|
|||
# nbde_client dracut config
|
||||
kernel_cmdline="ip=dhcp"
|
||||
omit_dracutmodules+=" ifcfg "
|
|
@ -18,13 +18,21 @@
|
|||
- include_vars: dir=/srv/web/infra/ansible/vars/all/ ignore_files=README
|
||||
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||
|
||||
- name: override nbde_client.conf to work around bug
|
||||
- name: override nbde_client-network-flush to work around bug
|
||||
copy:
|
||||
src: "{{ files }}/hotfix/nbde_client.conf"
|
||||
dest: /etc/dracut.conf.d/nbde_client.conf
|
||||
src: "{{ files }}/common/nbde_client-network-flush"
|
||||
dest: /usr/bin/nbde_client-network-flush
|
||||
owner: root
|
||||
group: root
|
||||
mode: 444
|
||||
mode: 755
|
||||
|
||||
- name: tell NetworkManager we don't want any auto connections
|
||||
copy:
|
||||
src: "{{ files }}/common/noautodefault.conf"
|
||||
dest: /etc/NetworkManager/conf.d/noautodefault.conf
|
||||
owner: root
|
||||
group: root
|
||||
mode: 644
|
||||
|
||||
roles:
|
||||
- base
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue