Created
July 26, 2016 08:42
-
-
Save shaananc/3285faa6cdd3ff85bbe89ff0eb6d3e93 to your computer and use it in GitHub Desktop.
My xen cloud config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #cloud-config | |
| hostname: %XSVMNAMETOHOSTNAME% | |
| ssh_authorized_keys: | |
| - ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEA1qvAA0qPwH4ZV1VFECGUGZEfnpwgFAarEv3NwDcQdftw3wm4JJ28d5rhzQosvUF9OX4CnfCu4K665N3YDCJtHWefTQ230lfYO6F6baLBmZuJStJB0xH+IIohsInb22/c0z9ULy64NtYNkkDge+RRJE6FnMi0/neeXkkfmsK8OdXzCLRJKM9q/TpGxsV8w2PFNKyAR9TdkckAC9oFukTP8HeCJ4QbkGx9zUbtVhQocSgGqkaSQ+ZRpH1kSVbL8Z3WuDXk8x3UdjVGbq9R9zZatji93La0KoGa0sbJrmAjt53xpWx15AHr8jnEdicB09M1m/i1+oLaxuTYGEFbfMCW5Q== shaananc-razer-20160129 | |
| # The following entry will automatically be replaced with a public key | |
| # generated by XenServer's container management. The key-entry must exist, | |
| # in order to enable container management for this VM. | |
| - ssh-rsa %XSCONTAINERRSAPUB% | |
| coreos: | |
| units: | |
| - name: etcd.service | |
| command: start | |
| - name: fleet.service | |
| command: start | |
| # XenServer Linux Guest Agent | |
| - name: xe-linux-distribution.service | |
| command: start | |
| content: | | |
| [Unit] | |
| Description=XenServer Linux Guest Agent | |
| After=docker.service | |
| [Service] | |
| ExecStartPre=/media/configdrive/agent/xe-linux-distribution /var/cache/xe-linux-distribution | |
| Environment="XE_UPDATE_GUEST_ATTRS=/media/configdrive/agent/xe-update-guest-attrs" | |
| ExecStart=/media/configdrive/agent/xe-daemon | |
| etcd: | |
| name: %XSVMNAMETOHOSTNAME% | |
| # generate a new token for each unique cluster at https://discovery.etcd.io/new | |
| discovery: https://discovery.etcd.io/79bd086d93f21c802027be6f73e40264 | |
| write_files: | |
| # Enable ARP notifications for smooth network recovery after migrations | |
| - path: /etc/sysctl.d/10-enable-arp-notify.conf | |
| permissions: 0644 | |
| owner: root | |
| content: | | |
| net.ipv4.conf.all.arp_notify = 1 | |
| users: | |
| - name: shaananc | |
| passwd: $6$rounds=4096$j4NDvVXhL9i$nMSpFI2cjSdmvDuqMlgY8DjL5V8yEnQ8Ytk.u.Ft1s5TgJdwv2UJ7GnxP5OHTdu/6cC6womFGHopUOxPnfNrZ. | |
| groups: | |
| - sudo | |
| - docker | |
| ssh-authorized-keys: | |
| - ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEA1qvAA0qPwH4ZV1VFECGUGZEfnpwgFAarEv3NwDcQdftw3wm4JJ28d5rhzQosvUF9OX4CnfCu4K665N3YDCJtHWefTQ230lfYO6F6baLBmZuJStJB0xH+IIohsInb22/c0z9ULy64NtYNkkDge+RRJE6FnMi0/neeXkkfmsK8OdXzCLRJKM9q/TpGxsV8w2PFNKyAR9TdkckAC9oFukTP8HeCJ4QbkGx9zUbtVhQocSgGqkaSQ+ZRpH1kSVbL8Z3WuDXk8x3UdjVGbq9R9zZatji93La0KoGa0sbJrmAjt53xpWx15AHr8jnEdicB09M1m/i1+oLaxuTYGEFbfMCW5Q== shaananc-razer-20160129 | |
| # Template loaded from /usr/lib/python2.4/site-packages/xscontainer/data/cloud-config.template |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment