Results 1 to 5 of 5

Thread: server 18.04

  1. #1
    Join Date
    Nov 2019
    Beans
    18

    Angry server 18.04

    I must say setting a static via file is not fun.
    Current server has 4 eth.
    network:
    ethernets:
    eno1:
    dhcp4: true
    eno2:
    dhcp4: true
    eno3:
    dhcp4: true
    eno4:
    dhcp4: true
    version: 2



    I'd like to set en04 to a static BUT 50-cloud-init.yaml will not accept it seems any type on indent w/o complaining. My last attempt was
    network:
    ethernets:
    eno1:
    dhcp4: true
    eno2:
    dhcp4: true
    eno3:
    dhcp4: true
    version: 2
    renderer: networkd
    eno4:
    dhcp: no
    addresses: [10.0.30.10/23]
    gateway4: 10.0.30.1
    nameservers:
    addresses: [10.0.0.21,10.0.2.21]
    1-3 can stay dhcp or inactive. Just trying to make a static on 4.

  2. #2
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,367
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: server 18.04

    When posting that type of output please post it inside CODE tags. Otherwise it loses the format.

    As you can see by looking at your own post all indent was lost and no one can confirm if what you have is valid by looking at the post.

    Post the output again inside CODE tags.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  3. #3
    Join Date
    Nov 2019
    Beans
    18

    Re: server 18.04

    thanks

  4. #4
    Join Date
    Sep 2011
    Location
    Behind you!
    Beans
    1,316
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: server 18.04

    I think this was the very first issue I had with the new 'default' image for the server install...which is part of the reason why I do not use the 'default' installer anymore.

    I use the alternative installer...also known as traditional installer which also allows you to configure LVM/RAID which the default will not for whatever reason.

    Here is how I install Ubuntu Server (linked directly to the network configuration section)

    EDIT: Found the thread used to note the differences between the LIVE and ALTERNATIVE installer.

    LHammonds
    Last edited by LHammonds; March 29th, 2020 at 09:07 PM.

  5. #5
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    19,863
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: server 18.04

    Need to see correctly formatted YAML.
    Last edited by TheFu; March 30th, 2020 at 02:01 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •