Skip to content

Commit

Permalink
Adding hostname, updating interface name
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-bmitch committed Jan 26, 2020
1 parent f7e3457 commit a289067
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 2 deletions.
2 changes: 2 additions & 0 deletions base-centos-7-1905/user-data.tmpl
@@ -1,5 +1,7 @@
#cloud-config
users: [ $user_list ]
hostname: ${name}
manage_etc_hosts: true

chpasswd:
list: |
Expand Down
2 changes: 1 addition & 1 deletion base-debian-10/network-config.tmpl
Expand Up @@ -2,7 +2,7 @@
version: 1
config:
- type: physical
name: enp1s0
name: enp0s1
# mac_address: INSTANCE_MAC_GOES_HERE
subnets:
- type: static
Expand Down
3 changes: 3 additions & 0 deletions base-debian-10/user-data.tmpl
@@ -1,4 +1,7 @@
#cloud-config
hostname: ${name}
manage_etc_hosts: true

users: [ ${user_list} ]

chpasswd:
Expand Down
2 changes: 1 addition & 1 deletion base-debian-9/network-config.tmpl
Expand Up @@ -2,7 +2,7 @@
version: 1
config:
- type: physical
name: eth0
name: enp0s1
# mac_address: INSTANCE_MAC_GOES_HERE
subnets:
- type: static
Expand Down
2 changes: 2 additions & 0 deletions base-debian-9/user-data.tmpl
@@ -1,5 +1,7 @@
#cloud-config
users: [ ${user_list} ]
hostname: ${name}
manage_etc_hosts: true

chpasswd:
list: |
Expand Down
2 changes: 2 additions & 0 deletions base-ubuntu-bionic/user-data.tmpl
@@ -1,5 +1,7 @@
#cloud-config
users: [ ${user_list} ]
hostname: ${name}
manage_etc_hosts: true

chpasswd:
list: |
Expand Down

0 comments on commit a289067

Please sign in to comment.