-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
Description
When using the infra playbook to create frontend VM's. The netplan config that is in the frontend VM's has the route:
- to: "0.0.0.0/0"
via: 192.168.1.1
This is not valid and results in:
root@f1:~# ip route
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.110
and should be:
- to: 0.0.0.0/0
via: 192.168.1.1
results in:
root@f1:~# ip route
default via 192.168.1.1 dev eth0 proto static
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.110
To Reproduce
Ubuntu 24.04 deploy machine
Ubuntu 24.04 hosts
ansible from the ubuntu repo: apt install ansible
ansible-playbook [core 2.16.3]
The infra inventory file from onedeploy
Expected behavior
A valid default route
Additional context
The infra yaml contains the following:
frontend:
vars:
context:
ETH0_DNS: 192.168.1.1
ETH0_GATEWAY: 192.168.1.1
ETH0_MASK: 255.255.255.0
ETH0_NETWORK: 192.168.1.0
Progress Status
- Code committed
- Testing - QA
- Documentation (Release notes - resolved issues, compatibility, known issues)
Metadata
Metadata
Assignees
Labels
No labels