Last active
June 21, 2025 13:33
-
-
Save martezr/cd6eedcadbad5bf37740bfe728693fe7 to your computer and use it in GitHub Desktop.
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
cat << EOF > /etc/cloud/cloud.cfg.d/10_aws.cfg | |
datasource: | |
Ec2: | |
metadata_urls: ["http://169.254.169.254:80"] | |
max_wait: 10 | |
timeout: 5 | |
EOF | |
cat << EOF >> /etc/dhcp/dhclient.conf | |
supersede rfc3442-classless-static-routes 16,169,254,0,0,0,0,0,0; | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment