User Tools

Site Tools


cloud:cli

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
cloud:cli [2020/05/14 10:13] – [Internet Addresses] chudlercloud:cli [2020/05/14 10:17] – [A WORD ABOUT CLOUD INIT] chudler
Line 182: Line 182:
  
 ==== A WORD ABOUT CLOUD INIT ==== ==== A WORD ABOUT CLOUD INIT ====
-Your author uses cloud init extensively and does not contemplate alternative. It is optional. The file used in these examples is available on request, but you might wish to develop your own from scratch.+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 
 +<code> 
 +#cloud-config 
 +network: 
 +  version: 2 
 +  ethernets: 
 +    net0: 
 +      match: 
 +        name: en* 
 +      dhcp4: true 
 +preserve_hostname: false 
 +users: 
 +  - name: ubuntu 
 +    ssh-authorized-keys: 
 +      - CONTENTS OF YOUR ssh key .pub file 
 +timezone: America/Chicago 
 +datasource: 
 + OpenStack: 
 +  metadata_urls: ["http://169.254.169.254"
 +  max_wait: -1 
 +  timeout: 10 
 +  retries: 5 
 +  apply_network_config: true 
 +manage_etc_hosts: false 
 +manual_cache_clean: false 
 +</code>
/var/lib/dokuwiki/data/pages/cloud/cli.txt · Last modified: 2021/04/15 16:53 by chudler

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki