coreos configuration file fails to transpile with ct. Cryptic error message

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I'm trying to make the ignition file for a coreos vm, but ct is complaining when I try to transpile the yaml to json. The conf file that I'm trying to transpile is as such
networkd:
units:
- name: 00-eth0.network
contents: |
[Match]
enp0s3
[Network]
Address=172.17.8.248/28
Gateway=172.17.8.1
DNS=1.1.1.1
but when I run ct I get
$ ct < coreos.conf > ignition.json
error at line 3, column 7
invalid unit content: unexpected newline encountered while parsing option name
Column 7 would be the 'n' in name. What's going on here?
systemd-networkd coreos
New contributor
Elliot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
up vote
0
down vote
favorite
I'm trying to make the ignition file for a coreos vm, but ct is complaining when I try to transpile the yaml to json. The conf file that I'm trying to transpile is as such
networkd:
units:
- name: 00-eth0.network
contents: |
[Match]
enp0s3
[Network]
Address=172.17.8.248/28
Gateway=172.17.8.1
DNS=1.1.1.1
but when I run ct I get
$ ct < coreos.conf > ignition.json
error at line 3, column 7
invalid unit content: unexpected newline encountered while parsing option name
Column 7 would be the 'n' in name. What's going on here?
systemd-networkd coreos
New contributor
Elliot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm trying to make the ignition file for a coreos vm, but ct is complaining when I try to transpile the yaml to json. The conf file that I'm trying to transpile is as such
networkd:
units:
- name: 00-eth0.network
contents: |
[Match]
enp0s3
[Network]
Address=172.17.8.248/28
Gateway=172.17.8.1
DNS=1.1.1.1
but when I run ct I get
$ ct < coreos.conf > ignition.json
error at line 3, column 7
invalid unit content: unexpected newline encountered while parsing option name
Column 7 would be the 'n' in name. What's going on here?
systemd-networkd coreos
New contributor
Elliot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I'm trying to make the ignition file for a coreos vm, but ct is complaining when I try to transpile the yaml to json. The conf file that I'm trying to transpile is as such
networkd:
units:
- name: 00-eth0.network
contents: |
[Match]
enp0s3
[Network]
Address=172.17.8.248/28
Gateway=172.17.8.1
DNS=1.1.1.1
but when I run ct I get
$ ct < coreos.conf > ignition.json
error at line 3, column 7
invalid unit content: unexpected newline encountered while parsing option name
Column 7 would be the 'n' in name. What's going on here?
systemd-networkd coreos
systemd-networkd coreos
New contributor
Elliot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Elliot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Elliot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 6 mins ago
Elliot
1184
1184
New contributor
Elliot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Elliot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Elliot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Elliot is a new contributor. Be nice, and check out our Code of Conduct.
Elliot is a new contributor. Be nice, and check out our Code of Conduct.
Elliot is a new contributor. Be nice, and check out our Code of Conduct.
Elliot is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f477797%2fcoreos-configuration-file-fails-to-transpile-with-ct-cryptic-error-message%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password