Created
June 9, 2017 20:26
-
-
Save euank/64ad42b811f7a8e03f8764dc69f8a826 to your computer and use it in GitHub Desktop.
what linode puts at /var/lib/coreos-install/user_data
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
users: | |
- name: "core" | |
- passwd: "***" | |
# The formatting of the following section is important. Don't change it! | |
# sytemd-networkd and dhcpcd are both packaged in Container Linux. We'll use systemd | |
# because that's what's used in the most minimal, out-of-the-box config at this time, | |
# and dhcpcd is disabled. We're giving systemd a dhcp config file so we can tell it | |
# to not use IPv6 privacy extensions. We also need DHCP=ipv4 b/c DHCP=all causes | |
# networking not to come back up on reboots. | |
write_files: | |
- path: "/etc/systemd/network/05-eth0.network" | |
permissions: "0644" | |
owner: "root" | |
content: | | |
[Match] | |
Name=eth0 | |
[Network] | |
DHCP=ipv4 | |
Domains=members.linode.com | |
IPv6PrivacyExtensions=false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment