Skip to content
This repository has been archived by the owner on Feb 25, 2024. It is now read-only.

Perform automated setup of a Rancher OS node under KVM on Linux in a 99% automated fashion.

License

Notifications You must be signed in to change notification settings

eyespies/rancheros-kvm-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rancher OS on KVM

This small project is designed to automate the installation and configuration of a Rancher OS worker node running under Linux KVM. It is the amalgamation of spread out documentation and several hours of trial and error.

Usage

  1. Checkout this repository
  2. Copy the cloud-config.yml.template file as some other name, e.g. cloud-config-01.yml
  3. Edit the '%' delimited values in the YAML file, e.g. %hostname%
  4. Set the server ID to be run, e.g. export SERVER_ID=1
  5. Start an Nginx docker container to host the YAML files (this was part of the script, however it would often fail to terminate / start the container so it was removed)
    docker run -d -p 808$SERVER_ID:80/tcp -v $(pwd)/cloud-config-0$SERVER_ID.yml:/usr/share/nginx/html/install-config nginx:alpine
    
  6. Set the value of the hostname:port through which the cloud-init file can be accessed through the Nginx container, e.g. export HTTP_HOST=192.168.1.1:808$SERVER_ID
  7. Run the install.sh script and pass it the ID number of the Rancher OS instance to launch, e.g. ./install.sh $SERVER_ID

About

Perform automated setup of a Rancher OS node under KVM on Linux in a 99% automated fashion.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages