Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Then continue with normal provisioning.


Once provisioned is finished, ssh into your machine and verify if the SFS network is up:

Code Block
ip addr show

Image Added


Ubuntu 22 know issue due to race condition in cloud-init

When running the ip addr show command, you will notice that one network is not up by default. This is due to a know issue in Ubuntu 22 cloud-init version that will be fixed in future updates.

Image Added

If the SFS network is not UP by default. You need to perform these extra instructions as sudo:


  1. Create a file and save it under this path /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with content:

    network: {config: disabled}


  2. Modify and save the cloud file at this path /etc/netplan/50-cloud-init.yaml adding the following lines in the list of ethernets

    Code Block
            ens4:
                dhcp4: true
                match:
                    macaddress: COPY HERE THE ONE IDENTIFED FROM the command ip addr show for ens4 (e.g. fa:16:3e:14:d6:4c)
                set-name: ens4
                optional: true

    So you will have something like this at the end:

    Code Block
    # This file is generated from information provided by the datasource.  Changes
    # to it will not persist across an instance reboot.  To disable cloud-init's
    # network configuration capabilities, write a file
    # /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
    # network: {config: disabled}
    network:
        ethernets:
            ens3:
                dhcp4: true
                match:
                    macaddress: fa:16:3e:c3:6d:1f
                set-name: ens3
            ens4:
                dhcp4: true
                match:
                    macaddress: fa:16:3e:14:d6:4c
                set-name: ens4
                optional: true
    
        version: 2


  3. Run the following command:

    Code Block
    netplan apply


  4. Finally verify the network is up running ip addr show again

    Image Added



4. Adding permissions to use the Shared Filesystem

...