diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2013-04-13 18:03:04 +0000 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2013-04-13 18:03:04 +0000 |
commit | b101cecdd5392a6f9c3007524e81f22aca9a0828 (patch) | |
tree | 0f3a64c90b5e88e5a8f3f93a260799e051c098c5 /install | |
parent | 02752ffbe65c295499a8beb4ac948646dffb96fd (diff) | |
download | live-b101cecdd5392a6f9c3007524e81f22aca9a0828.tar.gz |
Ensure proper mountpoint for rpool
Diffstat (limited to 'install')
-rwxr-xr-x | install | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -237,7 +237,8 @@ def create_rpool(hdd): progress = ProgressMessage(screen, title='Please, wait', text='Creating ZFS pool "{rpool}" on slice "{slice}" ...'.format(rpool=pool_name, slice=rslice)) - zpool_cmd = Popen(['zpool', 'create', '-R', '/mnt/'+pool_name, '-f', pool_name, rslice], + zpool_cmd = Popen(['zpool', 'create', '-R', '/mnt/'+pool_name, + '-m', '/' + pool_name, '-f', pool_name, rslice], stderr=PIPE, stdout=PIPE) out, err = zpool_cmd.communicate() if 0 != zpool_cmd.returncode: |