Change-Id: Ie5eb8a24ab610767407360e46a95941acef1d6a5
Reviewed-on: http://photon-jenkins.eng.vmware.com/274
Tested-by: jenkins-photon <wangnan2015@hotmail.com>
Reviewed-by: Sharath George
| ... | ... |
@@ -103,7 +103,8 @@ EOF |
| 103 | 103 |
chmod 755 ${BUILDROOT}/init
|
| 104 | 104 |
|
| 105 | 105 |
#adding autologin to the root user |
| 106 |
-sed -i "s/ExecStart.*/ExecStart=-\/sbin\/agetty --autologin root --noclear %I $TERM/g" ${BUILDROOT}/lib/systemd/system/getty@.service
|
|
| 106 |
+# and set TERM=linux for installer |
|
| 107 |
+sed -i "s/ExecStart.*/ExecStart=-\/sbin\/agetty --autologin root --noclear %I linux/g" ${BUILDROOT}/lib/systemd/system/getty@.service
|
|
| 107 | 108 |
|
| 108 | 109 |
#- Step 7 - Create installer script |
| 109 | 110 |
if [ "$LIVE_CD" = false ] ; then |