Commit Graph

979 Commits

Author SHA1 Message Date
Thomas Lamprecht
95844cc663 HD options panel: add seprator before OK button
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-19 10:09:17 +02:00
Thomas Lamprecht
f0a0d90b43 ZFS: add note regarding HW raid controllers
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-19 10:07:51 +02:00
Thomas Lamprecht
cd2d2a275d create_ipconf_view: if undefined variable in string cmp warning
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-07 20:53:52 +02:00
Thomas Lamprecht
292dd9847f buildsys: switch upload dist over to buster
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-22 10:21:49 +02:00
Thomas Lamprecht
c5c6fe9450 bump version to 6.0-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-22 10:12:34 +02:00
Thomas Lamprecht
28b5c93c57 update banners
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-22 10:12:34 +02:00
Thomas Lamprecht
8d7ddbde84 mount /run as tmpfs in chroot and bindmount to target root
ensures things like LVM can work fine

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-22 10:11:56 +02:00
Thomas Lamprecht
6ea88ef69d proxinstall: remove outdated cleanup code
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-22 10:05:00 +02:00
Thomas Lamprecht
11a421560e drop also into debug shell before even starting to install
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-22 10:05:00 +02:00
Thomas Lamprecht
dad62fce9c buildsys: use dpkg-dev makefile helpers for pkg info
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-22 10:00:37 +02:00
Thomas Lamprecht
93f25df996 ignore non-existent eula file in test mode
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-22 09:49:38 +02:00
Thomas Lamprecht
ed0e6aea4b be compatible with new Gtk3 Webkit2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-22 09:24:05 +02:00
Thomas Lamprecht
a1555432ea d/control: pass ${perl:Depends} to Depends field
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-26 15:38:29 +01:00
Thomas Lamprecht
3119bdebd9 unconfigured: mount /dev/shm as tmpfs inside chroot
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>
2019-03-25 21:18:25 +01:00
Thomas Lamprecht
194d737a43 tell udev to ignore being in a chroot
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>
2019-03-25 19:48:49 +01:00
Thomas Lamprecht
89aa55e2f9 bump version 5.0-26
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-20 14:43:40 +01:00
Thomas Lamprecht
d6524c520a ipconf view: only (re)set fields if nic really changed
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-20 14:38:04 +01:00
Thomas Lamprecht
e5ef290990 bump version to 5.0-25
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-14 16:36:52 +01:00
Thomas Lamprecht
9174978621 fixup comment indentation
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-07 07:16:41 +01:00
Wolfgang Link
a8692b68ba Add support for Citrix Hypervisor blockdev.
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.
2019-03-07 07:14:44 +01:00
Thomas Lamprecht
3b959bef68 s/$i/$a/
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-01-25 16:28:27 +01:00
Thomas Lamprecht
42f75df193 fixup-follow-up
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-01-25 16:26:18 +01:00
Thomas Lamprecht
218a4b6b5b followup: really remember last HD selected
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>
2019-01-25 16:24:17 +01:00
Oguz Bektas
90af1603b5 don't show hd select combobox after raid is chosen
* 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>
2019-01-25 16:21:06 +01:00
Oguz Bektas
9227a70fd8 only set target_hd if it's not defined already
* 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>
2019-01-25 16:21:06 +01:00
Oguz Bektas
bd3a2e26db fix typo in variable name
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
2019-01-25 16:21:06 +01:00
Thomas Lamprecht
6e286a74ef fixup: remove unused wrongly introduced variable
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-01-11 18:54:12 +01:00
Thomas Lamprecht
1096fd631d ack template: s/Disk/Disk(s)/
As we show all selected disk in a ZFS/BTRFS raid mode

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-01-11 14:05:15 +01:00
Thomas Lamprecht
303dfb2cfb create_hdsel_view: cleanup set_next
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-01-11 14:01:26 +01:00
Thomas Lamprecht
a7d403417c show multiple disks in ack screen when zfs is used
Tested-by: Oguz Bektas <o.bektas@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-01-11 14:01:11 +01:00
Thomas Lamprecht
3b2b1a2517 do not create resolvconf links
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-12-14 16:13:12 +01:00
Thomas Lamprecht
0ddd2227e3 ack screen: show real country name instead of 2 letter code
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-12-14 11:25:37 +01:00
Oguz Bektas
71590b6a76 minor style fixes
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
2018-12-14 10:48:41 +01:00
Thomas Lamprecht
ac3ee85b1a hide previous button when starting installation
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>
2018-12-13 15:56:27 +01:00
Thomas Lamprecht
451b1da5a3 use a more telling variable name for previous button
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-12-13 15:56:03 +01:00
Thomas Lamprecht
76960140c0 add ability to test multiple disks
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>
2018-12-13 14:40:05 +01:00
Thomas Lamprecht
bf1de87875 buildsys: do not copy test disk images over to build dir
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>
2018-12-13 14:40:05 +01:00
Thomas Lamprecht
ebc4f76fa1 remember network settings for previous button
to allow going back without loosing information remeber the
information in the new $config hash

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-12-11 16:53:41 +01:00
Thomas Lamprecht
0470018e38 ack screen: show which FS is going to be used
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-12-11 16:53:41 +01:00
Thomas Lamprecht
6374d7f882 minor ack_template fixups
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-12-11 16:53:41 +01:00
Thomas Lamprecht
c4ea5da3e6 fixup global config: do not differ between steps
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>
2018-12-11 16:53:41 +01:00
Oguz Bektas
2e33c3f075 implemented acknowledgement screen
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>
2018-12-11 16:53:41 +01:00
Oguz Bektas
201a512007 implement previous button
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>
2018-12-11 16:53:41 +01:00
Oguz Bektas
bc1c6f1b83 change http links to https, clean whitespace
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
2018-12-10 11:49:54 +01:00
Stoiko Ivanov
93c8fdb021 Fix #2009: Recreate hdsize_adj with new hdsize
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>
2018-12-10 10:17:51 +01:00
Thomas Lamprecht
f20832ec1d update version to 5.0-24
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-30 16:11:22 +01:00
Oguz Bektas
89bb665641 minor instruction change in html
* made Install bold
* rephrased
* removed trailing whitespace

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
2018-11-28 13:24:27 +01:00
Oguz Bektas
a8a6a8a181 change last button to 'Install'
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
2018-11-28 13:23:51 +01:00
Thomas Lamprecht
754abb4437 fixup: readd unnecessarily remove line
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-28 13:11:32 +01:00
Stoiko Ivanov
6039e2f14c Reset adjustment for spinbutton_hdsize
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>
2018-11-28 13:09:34 +01:00