dd-rancheros-cloud-config

command module
v0.0.1-beta4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2017 License: MIT Imports: 12 Imported by: 0

README

cloud-config server for Dimension Data CloudControl and RancherOS

A simple implementation of a server to return customised cloud-config.yml (to drive RancherOS installation via iPXE) for servers in CloudControl.

It's functional, but should be considered a work in progress; feel free to create an issue if you have questions or would like to contribute.

Works on Linux and OSX, but not Windows.

Note that it won't (currently) handle the case where the iPXE server is attached to multiple VLANs (but the design could easily be extended to handle this).

Configuration

dd-rancheros-cc.yml:

mcp:
  user: "my_user"
  password: "my_password"
  region: "AU"

network:
  vlan_id: "my_vlan_id" # The Id of the VLAN where the iPXE and cloud-config server are running.

rancher_os:
  console: centos
  network:
    dns:
       nameservers: "DNS IP"
  SSHPublicKey: "RAW Public key excluding email at end if present"

rancher_agent:
  version: "rancher/agent:v1.2.2" 
  url: "https://rancherlabdns/v1/scripts/xxxxxx:yyyyyyyyyy:zzzzzzzz"

OR:

export MCP_USER=my_user
export MCP_PASSWORD=my_password
export MCP_REGION=AU
export MCP_VLAN_ID=my_vlan_id

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL