Skip to content

Commit

Permalink
Ensure that dhclient is installed
Browse files Browse the repository at this point in the history
It appears that on Jammy, it isn't installed by default.

    Traceback (most recent call last):
      File "/opt/stack/tempest/.tox/venv/lib/python3.10/site-packages/oslo_config/cfg.py", line 2931, in _do_get
        return (convert(val), alt_loc)
      File "/opt/stack/tempest/.tox/venv/lib/python3.10/site-packages/oslo_config/cfg.py", line 2900, in convert
        return self._convert_value(
      File "/opt/stack/tempest/.tox/venv/lib/python3.10/site-packages/oslo_config/cfg.py", line 3028, in _convert_value
        return opt.type(value)
      File "/opt/stack/tempest/.tox/venv/lib/python3.10/site-packages/oslo_config/types.py", line 167, in __call__
        raise ValueError(
    ValueError: Valid values are [udhcpc, dhclient, ], but found 'dhcpcd'
  • Loading branch information
nelljerram committed Jan 14, 2025
1 parent 8b810e9 commit 1e3c0e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions networking-calico/devstack/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ cd
mkdir -p devstack-bootstrap
cd devstack-bootstrap

# Ensure that Git is installed.
# Ensure that Git and dhclient are installed.
sudo apt-get update
sudo apt-get -y install git
sudo apt-get -y install git isc-dhcp-client

# Enable IPv4 and IPv6 forwarding.
sudo sysctl -w net.ipv4.ip_forward=1
Expand Down

0 comments on commit 1e3c0e3

Please sign in to comment.