This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
maas [2016/12/15 12:00] sgiulitti |
maas [2016/12/16 12:11] (current) sgiulitti |
||
|---|---|---|---|
| Line 44: | Line 44: | ||
| *Example interface configuration: | *Example interface configuration: | ||
| ```bash | ```bash | ||
| - | # The primary network interface | + | # This file describes the network interfaces available on your system |
| + | # and how to activate them. For more information, | ||
| + | |||
| + | source / | ||
| + | |||
| + | # The loopback network interface | ||
| + | auto lo | ||
| + | iface lo inet loopback | ||
| + | |||
| + | # The primary network interface | ||
| auto ens3 | auto ens3 | ||
| iface ens3 inet static | iface ens3 inet static | ||
| - | address 192.168.122.157 | + | address 192.168.122.157 |
| - | | + | netmask 255.255.255.0 |
| - | # usually this is virb0 address created by the virtual | + | gateway 192.168.122.1 |
| - | # system that you are using mine is 192.168.122.1 | + | dns-nameservers 8.8.8.8 |
| - | gateway 192.168.122.1 | + | |
| - | | + | |
| - | # The secondary | + | # The secondary |
| + | # This is used for internal maas only | ||
| auto ens9 | auto ens9 | ||
| iface ens9 inet static | iface ens9 inet static | ||
| - | address 10.10.10.10 | + | address 10.10.10.10 |
| - | | + | netmask 255.255.255.0 |
| - | dns-nameservers 8.8.8.8 | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| ``` | ``` | ||
| Line 133: | Line 138: | ||
| ```bash | ```bash | ||
| - | sudo maas-region-admin createadmin --username root --email user@server.com | + | # maas 2.0 |
| + | sudo maas-region | ||
| ``` | ``` | ||