Installer.mount() had accedental hard coded mountpoint.
This commit is contained in:
parent
5cf09c6641
commit
c5250fbe3e
|
|
@ -92,10 +92,10 @@ class Installer():
|
|||
return False
|
||||
|
||||
def mount(self, partition, mountpoint, create_mountpoint=True):
|
||||
if create_mountpoint and not os.path.isdir(f'{self.mountpoint}/srv/http'):
|
||||
os.makedirs(f'{self.mountpoint}/srv/http')
|
||||
if create_mountpoint and not os.path.isdir(f'{self.mountpoint}{mountpoint}'):
|
||||
os.makedirs(f'{self.mountpoint}{mountpoint}')
|
||||
|
||||
partition.mount(f'{self.mountpoint}/srv/http')
|
||||
partition.mount(f'{self.mountpoint}{mountpoint}')
|
||||
|
||||
def post_install_check(self, *args, **kwargs):
|
||||
return [step for step, flag in self.helper_flags.items() if flag is False]
|
||||
|
|
|
|||
Loading…
Reference in New Issue