Two IP addresses in autoinstall file - how

Karl Auer kauer at biplane.com.au
Fri Oct 22 23:12:34 UTC 2021


On Fri, 2021-10-22 at 18:58 -0400, Jerry Geis wrote:
> how do you put two static IP address in the YAML file ?

Never done it, so this might be completely wrong, but:

> This is what I do for ONE:
>       ens3:
>          dhcp4: no
>           dhcp6: no
>           addresses: [STATIC_IP/STATIC_SN]
>           gateway4: STATIC_GW
>           nameservers:
>             addresses: [8.8.8.8]

It looks to me as if you would simply copy that entire stanza, stick it
on the bottom of the file and change the details in the copy. BTW the
indentation above looks wrong - shouldn't all the lines "dhcp6" and
below be outdented one?

And repeating: I have not done this and am guessing.

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer

GPG fingerprint: 61A0 99A9 8823 3A75 871E 5D90 BADB B237 260C 9C58
Old fingerprint: 2561 E9EC D868 E73C 8AF1 49CF EE50 4B1D CCA1 5170







More information about the ubuntu-users mailing list