Created
April 16, 2017 00:18
-
-
Save kurron/ec38276416b041dc80bcb4994994f2a8 to your computer and use it in GitHub Desktop.
Showcase Failure of Container Linux Transpiler To Convert Sample cloud-config file
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 | |
coreos: | |
etcd2: | |
name: etcdserver | |
initial-cluster: etcdserver=http://10.0.0.101:2380 | |
initial-advertise-peer-urls: http://10.0.0.101:2380 | |
advertise-client-urls: http://10.0.0.101:2379 | |
# listen on both the official ports and the legacy ports | |
# legacy ports can be omitted if your application doesn't depend on them | |
listen-client-urls: http://0.0.0.0:2379,http://0.0.0.0:4001 | |
listen-peer-urls: http://0.0.0.0:2380 | |
units: | |
- name: etcd2.service | |
command: start | |
- name: 00-eth0.network | |
runtime: true | |
content: | | |
[Match] | |
Name=eth0 | |
[Network] | |
DNS=1.2.3.4 | |
Address=10.0.0.101/24 | |
Gateway=10.0.0.1 | |
``` | |
``` | |
ct --version | |
ct v0.2.2 | |
``` | |
``` | |
ct -in-file sample.yml -pretty -strict | |
warning at line 2, column 0 | |
Config has unrecognized key: coreos | |
Failed to parse config | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Trying to convert the Easy development/testing cluster sample from the CoreOS cluster guide.