Skip to content

Instantly share code, notes, and snippets.

@AlbinoDrought
Created October 11, 2018 22:04
Show Gist options
  • Save AlbinoDrought/9905036730b6dbf2e32a86032ed359d6 to your computer and use it in GitHub Desktop.
Save AlbinoDrought/9905036730b6dbf2e32a86032ed359d6 to your computer and use it in GitHub Desktop.
RancherOS cloud-config.yml for OVirt
#cloud-config
# assumes virtio
# replace and uncomment ssh_authorized_keys with your pubkey(s)
#ssh_authorized_keys:
# - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDWFPEou1/OK86UK1hB2YrFOpdhB30mcYFF3qwRcoGezmGyZxbKHTGs2DvJCeIHe1K7INjzpkwPqzXsKAKMnkdgDqHya8iEvblDl/DVDnnvLD3GDzH/0XboV5glvJcGMtmqbsZl0jMsWjTX/1oRiIpE6wU2AFTSDVAHWKMlJS+EoTZUpe6MHp5LXny/kSqGVGTwJNDIB2TevmCFGPTUDUyEd5q8h1jQQdz1Sv2yrVFG3SxaZiwqea3eRd4qz7H86PzZN9BSDERvuS6f62VzR1stbHIHohw53U2POoXKV/YBGdYsYNdg565yCfgCgKSp1bwQtF7kzI8RDiVVBeSutuBP sean@Malone-Tuning-26
rancher:
# extend /dev/vda to the entire disk, if necessary
resize_device: /dev/vda
state:
# format /dev/vda and store state to it
autoformat:
- /dev/vda
services:
# try to always run the ovirt guest agent
ovirt-guest-agent:
image: albinodrought/ovirt-guest-agent-centos
privileged: true
restart: always
network_mode: host
volumes:
- /dev/virtio-ports:/dev/virtio-ports
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment