Skip to content

Modifying network configuration, adding ipv6 address #10247

Answered by smira
idc77 asked this question in Q&A
Discussion options

You must be logged in to vote

So I guess you used the console dashboard to configure the network manually, that's what you see in talosctl get meta.

You can leave that as it is, or convert it to machine config (up to you).

Talos machine configuration is a YAML document which you can modify by editing it (it gets downloaded to your editor, and re-applied back with your edits), you can patch it.

I would pick rather patch it, as it's the easiest way (also, if you're considering production, see these notes, or you can use Omni which automates config management for you).

So if you look at the config reference, you can come up with a patch like:

machine:
  network:
   interfaces:
    - interface: enp7s0
       addresses: 
 …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@idc77
Comment options

@idc77
Comment options

@idc77
Comment options

Answer selected by idc77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants