as preparation for GKT3 WebKit2 perl bindings, which wants to make a
shared memory file there, but fails and hangs the installer as
/dev/shm didn't exists in the chroot environment.
Doesn't hurt to just create it now already
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
since udev/systemd v241 udev actively ignores requests if it detects
running in a chroot environment[0], as we do exactly this in our
setup process we need to tell udev that it is OK and we know what we
do, so set SYSTEMD_IGNORE_CHROOT=1 which makes the
"running_in_chroot" function lie[1].
[0]: c494b739a4
[1]: https://github.com/systemd/systemd/blob/v241/src/basic/virt.c#L607
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Citrix Hypervisor use as blockdev path /dev/xvd<[a-z]><\d>
It makes sense for Proxmox Mail Gateway to run on Citrix Hypervisor.
Citrix Hypervisor recent XenServer.
This was done correctly earlier, but the remembering part disappeared
on rebase, so followup, but do not save it in config_options.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
* we don't want the hd select combobox to show up when user goes back
after choosing raid during initial setup
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
* this avoids weird behaviour with the chosen disk when the user changes
the type of filesystem during installation
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
makes no sense to go back from then, its just a special case which
would make things more complex and error prone.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
to allow easier testing of ZFS modes requiring more than one disk.
Also add a target which defaults to 4 disks.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
this is unecessary and rsycn does no sparse copy if the --sparse
option is not passed.
As I want to introduce easier testing with multiple disks this helps
alot in reducing test setup and package build time.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
to allow going back without loosing information remeber the
information in the new $config hash
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This is the config from the whole installer, this should not be step
dependent, adds just and unecessarry and possible confusing level of
indirection.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
this implements an acknowledgement screen as the last step, which
shows the user what they chose during the previous steps.
the html files have been modified according to the new installation
steps as well.
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
this implements a previous button to the installer, along with some
structural changes to allow the installer to be more modular in the
future (such as a step list and a global config hash)
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
Creating $hdsize_size_adjustment once with a passed hdsize, breaks changing
the disk to a smaller/larger one, since the installer is stuck with the limits
set with the initial disk.
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
After setting the input buffer for the spinbutton the default value
wasn't displayed anymore, resulting in odd behaviour when clicking in the field
w/o entering/changing a value.
Setting the adjustment again, sets the default value as before
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>