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 revision
Previous revision
Next revisionBoth sides next revision
cloud:cli [2020/05/14 10:10] chudlercloud:cli [2020/05/14 10:37] – [CONFIGURATION] chudler
Line 17: Line 17:
       username: "CNetID"       username: "CNetID"
       password: "sekret"       password: "sekret"
-      project_id: YOUR PROJECT UUID 
       project_name: "CNetID"       project_name: "CNetID"
       user_domain_name: "CS_LDAP"       user_domain_name: "CS_LDAP"
Line 179: Line 178:
 **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. We had created the router earlier for the purpose of SNAT, and had we not done that, this command would have failed. This means that if you are not doing SNAT, you should create a router anyway, but __do not__ give it a campus address of its own+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. On default subnets, your cloud admin has pre-created suitable routers. The command will fail if you are creating your own subnets and networks without taking similar steps.
- +
-== A WORD ABOUT CLOUD INIT == +
-Your author uses cloud init extensively and does not imagine a life without it. It is optional. The file used in these examples is available on request, but you should develop your own if you use it at all.+
  
 +==== 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
 +<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