diff options
| author | Jerry Jelinek <jerry.jelinek@joyent.com> | 2011-03-07 12:29:16 -0800 |
|---|---|---|
| committer | Jerry Jelinek <jerry.jelinek@joyent.com> | 2011-03-07 12:29:16 -0800 |
| commit | 40e478a3aeda8c37467d38d30b772a945042b688 (patch) | |
| tree | d2c22a8e87c30f7e8e2a29b877b9bdf02cac277d /usr/src | |
| parent | 1c8b5e887fffbc595c80af4084a5b68f9dbc1a2c (diff) | |
| download | illumos-joyent-40e478a3aeda8c37467d38d30b772a945042b688.tar.gz | |
OS-292 console-login service broken in zones (spinning due to /dev/console -> /dev/wscons switch)
Diffstat (limited to 'usr/src')
| -rw-r--r-- | usr/src/cmd/zoneadm/svc-zones | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/cmd/zoneadm/svc-zones b/usr/src/cmd/zoneadm/svc-zones index 4c997e8a39..ec6c20ab77 100644 --- a/usr/src/cmd/zoneadm/svc-zones +++ b/usr/src/cmd/zoneadm/svc-zones @@ -106,6 +106,10 @@ setup_manifests() of = dest "/" fname while (getline <f > 0) { + # Fix up the console svc to work with zones. + if (fname == "system/console-login.xml") + sub("wscons", "console") + if (($1 == "<instance" && $2 == "name=\047default\047") || $1 == "<create_default_instance") { |
