diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2013-08-31 11:41:16 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2013-08-31 11:41:16 +0400 |
commit | 465582f4d5ddada716f4eb3f16199f33918b9b36 (patch) | |
tree | 7576811027386eb0ef5da1afb4576758e1d3cccf /install | |
parent | 63babb8a825a95c861da6579d3eb3a171a9d7f17 (diff) | |
download | live-465582f4d5ddada716f4eb3f16199f33918b9b36.tar.gz |
Mount /home to create a regular user
Diffstat (limited to 'install')
-rwxr-xr-x | install | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -837,6 +837,9 @@ def mount_in_bootenv(): call(['mount', '-F' , 'fd', '-', rootdir + '/dev/fd'], stdout=PIPE, stderr=PIPE) call(['mount', '-F' , 'proc', '-', rootdir + '/proc'], stdout=PIPE, stderr=PIPE) + # /home is rpool/home, we need this to create a regular user: + call(['mount', '-F' , 'lofs', '/mnt/'+rpool+'/home', rootdir + '/home'], stdout=PIPE, stderr=PIPE) + def set_root_password(): entry1 = Entry(width=30, password=1, returnExit=0) entry2 = Entry(width=30, password=1, returnExit=1) |