systemd: write stdout to tty so it shows up in GetConsoleOutput

This commit is contained in:
Garrett Holmstrom
2012-08-03 13:49:59 -07:00
parent 061f0cb1f4
commit d5eb2a43c5
4 changed files with 12 additions and 0 deletions

View File

@@ -9,5 +9,8 @@ Type=oneshot
ExecStart=/usr/bin/cloud-init-cfg all config
RemainAfterExit=yes
# Output needs to appear in instance console output
StandardOutput=tty
[Install]
WantedBy=multi-user.target

View File

@@ -9,5 +9,8 @@ Type=oneshot
ExecStart=/usr/bin/cloud-init-cfg all final
RemainAfterExit=yes
# Output needs to appear in instance console output
StandardOutput=tty
[Install]
WantedBy=multi-user.target

View File

@@ -8,5 +8,8 @@ Type=oneshot
ExecStart=/usr/bin/cloud-init start-local
RemainAfterExit=yes
# Output needs to appear in instance console output
StandardOutput=tty
[Install]
WantedBy=multi-user.target

View File

@@ -9,5 +9,8 @@ Type=oneshot
ExecStart=/usr/bin/cloud-init start
RemainAfterExit=yes
# Output needs to appear in instance console output
StandardOutput=tty
[Install]
WantedBy=multi-user.target