summaryrefslogtreecommitdiff
path: root/systemd
diff options
context:
space:
mode:
authorGarrett Holmstrom <gholms@eucalyptus.com>2012-08-03 13:49:59 -0700
committerGarrett Holmstrom <gholms@eucalyptus.com>2012-08-03 13:49:59 -0700
commitd1c6ad4a9bfaba86e101642330bd478d9badd361 (patch)
tree85c5b4945539226d487c5e44f3cb3548a1154dce /systemd
parenta7ab005ae9270b56aeebea16b6913c9d76e946ea (diff)
downloadvyos-cloud-init-d1c6ad4a9bfaba86e101642330bd478d9badd361.tar.gz
vyos-cloud-init-d1c6ad4a9bfaba86e101642330bd478d9badd361.zip
systemd: write stdout to tty so it shows up in GetConsoleOutput
Diffstat (limited to 'systemd')
-rw-r--r--systemd/cloud-config.service3
-rw-r--r--systemd/cloud-final.service3
-rw-r--r--systemd/cloud-init-local.service3
-rw-r--r--systemd/cloud-init.service3
4 files changed, 12 insertions, 0 deletions
diff --git a/systemd/cloud-config.service b/systemd/cloud-config.service
index 696230f6..f08049da 100644
--- a/systemd/cloud-config.service
+++ b/systemd/cloud-config.service
@@ -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
diff --git a/systemd/cloud-final.service b/systemd/cloud-final.service
index 23275ee5..19aa02b9 100644
--- a/systemd/cloud-final.service
+++ b/systemd/cloud-final.service
@@ -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
diff --git a/systemd/cloud-init-local.service b/systemd/cloud-init-local.service
index 2d57567f..bce81fe7 100644
--- a/systemd/cloud-init-local.service
+++ b/systemd/cloud-init-local.service
@@ -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
diff --git a/systemd/cloud-init.service b/systemd/cloud-init.service
index b8f6f49d..b204f5cc 100644
--- a/systemd/cloud-init.service
+++ b/systemd/cloud-init.service
@@ -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