cloud:cli
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
cloud:cli [2020/05/14 10:10] – chudler | cloud:cli [2020/05/14 10:17] – [A WORD ABOUT CLOUD INIT] chudler | ||
---|---|---|---|
Line 179: | Line 179: | ||
**Now** your server does have a **new** network interface attached to it, and will be served a DHCP address on it. You will almost certainly have to inform the OS about this manually; the cloud may not help you do that. | **Now** your server does have a **new** network interface attached to it, and will be served a DHCP address on it. You will almost certainly have to inform the OS about this manually; the cloud may not help you do that. | ||
- | This section added a floating ip address directly to the server. You must realize that a router was needed on the subnet for that to happen. | + | This section added a floating ip address directly to the server. You must realize that a router was needed on the subnet for that to happen. |
- | + | ||
- | == A WORD ABOUT CLOUD INIT == | + | |
- | Your author uses cloud init extensively | + | |
+ | ==== A WORD ABOUT CLOUD INIT ==== | ||
+ | Your author uses cloud init extensively and does not contemplate alternative. It is optional. A minimal cloud-init for a modern Ubuntu cloud OS might look like this | ||
+ | < | ||
+ | # | ||
+ | network: | ||
+ | version: 2 | ||
+ | ethernets: | ||
+ | net0: | ||
+ | match: | ||
+ | name: en* | ||
+ | dhcp4: true | ||
+ | preserve_hostname: | ||
+ | users: | ||
+ | - name: ubuntu | ||
+ | ssh-authorized-keys: | ||
+ | - CONTENTS OF YOUR ssh key .pub file | ||
+ | timezone: America/ | ||
+ | datasource: | ||
+ | | ||
+ | metadata_urls: | ||
+ | max_wait: -1 | ||
+ | timeout: 10 | ||
+ | retries: 5 | ||
+ | apply_network_config: | ||
+ | manage_etc_hosts: | ||
+ | manual_cache_clean: | ||
+ | </ |
/var/lib/dokuwiki/data/pages/cloud/cli.txt · Last modified: 2021/04/15 16:53 by chudler