Commit Graph

742 Commits

Author SHA1 Message Date
Thomas Lamprecht
2780ea4fe3 fix typo: s/virtualisation/virtualization/
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-07-03 07:33:51 +02:00
Stoiko Ivanov
e1fdd3d069 use by-id diskpath for zpool create
With the recent fixes to the installers initial /dev creation, the installer
and the kernel should now have the same view on the created devices and links
2019-07-03 06:29:05 +02:00
Stoiko Ivanov
063ae64af3 clear zpool labels on selected disks' partitions
along with `pvremove -ff` and writing zeroes to the first 16M of all
partitions, which belong to disks selected in the installer run `zpool
labelclear`.

This prevents a failure to boot after installation, if the disks were
previously also used as a zpool called rpool, but in a different configuration
(e.g. installing a raidzX first and then changing to raid10).
2019-07-03 06:28:54 +02:00
Thomas Lamprecht
091c347599 followup: reword summary sentence a bit
change the really short sentence to something with more "reading
flow"

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-07-02 14:15:28 +02:00
Oguz Bektas
64683b9551 align lines in summary screen
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
2019-07-02 14:00:10 +02:00
Thomas Lamprecht
f2afc0fc4a followup: only do zz-pve-efiboot if ZFS and EFI is used, for now
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-07-01 22:36:59 +02:00
Stoiko Ivanov
03c686b77e update systemd-boot config after initializing esps
run the kernel-postinst hook once (like we do for update-grub) instead
of once per ESP. This fixes an error (the hook does not write entries for
mounted partitions), and save quite a bit of (un)mounting and copying in case
of multiple ESPs

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2019-07-01 22:20:01 +02:00
Thomas Lamprecht
1cd1a8b994 bump version to 6.0-3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-28 14:03:28 +02:00
Thomas Lamprecht
597db5de5a refactor out prepare_grub_efi_boot_esp code
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-28 13:02:27 +02:00
Thomas Lamprecht
4fb6ac6041 minor coding style cleanups
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-28 13:02:08 +02:00
Thomas Lamprecht
e691666e36 depreacate grub_platform variable, replaced by $boot_type
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-28 13:01:26 +02:00
Stoiko Ivanov
e38884af03 add support for ZFS on EFI
use systemd-boot in case of ZFS on EFI and prepare the ESPs of all bootable
devices by installing systemd-boot to them
2019-06-28 12:35:31 +02:00
Thomas Lamprecht
5da2ffd1db bump version to 6.0-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-25 10:28:25 +02:00
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