Created
September 8, 2020 19:05
-
-
Save bh7cw/af89d4f6cf024cf156f629ec8e33617d to your computer and use it in GitHub Desktop.
This file contains 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
Tested the new fcos image with the ignition config file https://gist.github.com/bh7cw/6ac27653d19815304332277ff2aacdb8 | |
[core@ip-172-31-14-2 system]$ ls afterburn-sshkeys.target.requires/ | |
afterburn-sshkeys@core.service afterburn-sshkeys@test.service | |
[core@ip-172-31-14-2 system]$ systemctl list-dependencies afterburn-sshkeys.target | |
afterburn-sshkeys.target | |
● ├─afterburn-sshkeys@core.service | |
● └─afterburn-sshkeys@test.service | |
[core@ip-172-31-14-2 system]$ sudo systemctl start afterburn-sshkeys.target | |
[core@ip-172-31-14-2 system]$ sudo journalctl -u 'afterburn-sshkeys@*.service' | |
-- Logs begin at Tue 2020-09-08 18:32:16 UTC, end at Tue 2020-09-08 19:03:30 UTC. -- | |
... | |
Sep 08 19:03:23 ip-172-31-14-2 systemd[1]: Starting Afterburn (SSH Keys)... | |
Sep 08 19:03:23 ip-172-31-14-2 systemd[1]: Starting Afterburn (SSH Keys)... | |
Sep 08 19:03:23 ip-172-31-14-2 afterburn[1199]: Sep 08 19:03:23.305 INFO Putting http://169.254.169.254/latest/api/token: Attempt #1 | |
Sep 08 19:03:23 ip-172-31-14-2 afterburn[1198]: Sep 08 19:03:23.305 INFO Putting http://169.254.169.254/latest/api/token: Attempt #1 | |
Sep 08 19:03:23 ip-172-31-14-2 afterburn[1199]: Sep 08 19:03:23.367 INFO Fetching http://169.254.169.254/2019-10-01/meta-data/public-keys: Attempt #1 | |
Sep 08 19:03:23 ip-172-31-14-2 afterburn[1198]: Sep 08 19:03:23.367 INFO Fetching http://169.254.169.254/2019-10-01/meta-data/public-keys: Attempt #1 | |
Sep 08 19:03:23 ip-172-31-14-2 afterburn[1199]: Sep 08 19:03:23.369 INFO Fetch successful | |
Sep 08 19:03:23 ip-172-31-14-2 afterburn[1199]: Sep 08 19:03:23.369 INFO Fetching http://169.254.169.254/2019-10-01/meta-data/public-keys/0/openssh-key:> | |
Sep 08 19:03:23 ip-172-31-14-2 afterburn[1198]: Sep 08 19:03:23.370 INFO Fetch successful | |
Sep 08 19:03:23 ip-172-31-14-2 afterburn[1198]: Sep 08 19:03:23.370 INFO Fetching http://169.254.169.254/2019-10-01/meta-data/public-keys/0/openssh-key:> | |
Sep 08 19:03:23 ip-172-31-14-2 afterburn[1198]: Sep 08 19:03:23.372 INFO Fetch successful | |
Sep 08 19:03:23 ip-172-31-14-2 afterburn[1199]: Sep 08 19:03:23.372 INFO Fetch successful | |
Sep 08 19:03:23 ip-172-31-14-2 afterburn[1198]: wrote ssh authorized keys file for user: core | |
Sep 08 19:03:23 ip-172-31-14-2 afterburn[1199]: wrote ssh authorized keys file for user: test | |
Sep 08 19:03:23 ip-172-31-14-2 systemd[1]: afterburn-sshkeys@core.service: Succeeded. | |
Sep 08 19:03:23 ip-172-31-14-2 systemd[1]: Finished Afterburn (SSH Keys). | |
Sep 08 19:03:23 ip-172-31-14-2 systemd[1]: afterburn-sshkeys@test.service: Succeeded. | |
Sep 08 19:03:23 ip-172-31-14-2 systemd[1]: Finished Afterburn (SSH Keys). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment