Commit Graph

1052 Commits

Author SHA1 Message Date
Fabian Grünbichler
dc4ad41925 zero start of partitions after formatting disk
to remove any leftover signatures
2017-05-04 09:49:23 +02:00
Fabian Grünbichler
6e56032ef8 fix XFS mount options
since Linux 4.10, barrier/nobarrier are still supported, but
are ignored, and barrier=1/0 seems to not work at at all
anymore.

so now we have three possibilities:
* ZFS: no mounting needed at all
* XFS: only noatime
* extX and btrfs: noatime and nobarrier

restructure code accordingly

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2017-03-16 07:04:15 +01:00
Fabian Grünbichler
4f0241f1d7 bump version to 5.0-2 2017-03-14 11:55:14 +01:00
Fabian Grünbichler
5b6ba73785 always select an interface
even if DHCP failed
2017-03-14 11:54:41 +01:00
Fabian Grünbichler
64c46db32f bump version to 5.0-1 2017-03-13 13:07:21 +01:00
Fabian Grünbichler
0c3f164dc5 buildsys: update make upload target for stretch 2017-03-13 13:07:13 +01:00
Fabian Grünbichler
26e0b8bec4 buildsys: use gzip -n 2017-03-13 13:02:21 +01:00
Fabian Grünbichler
e7dd0c1ea7 buildsys: use fakeroot for dpkg-deb 2017-03-13 13:02:21 +01:00
Fabian Grünbichler
991ec37f16 fix #1239: enhance swap on ZFS setup
set properties according to upstream documentation

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2017-03-08 09:25:07 +01:00
Fabian Grünbichler
975aaeeee7 make network configuration page more explicit
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2017-03-08 09:18:39 +01:00
Fabian Grünbichler
39a0f44bd6 fix typo in variable name
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2017-03-08 09:17:34 +01:00
Fabian Grünbichler
fe44bd92a8 use iproute2, support interface selection
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2017-03-08 09:15:12 +01:00
Fabian Grünbichler
2106e440be don't link eth0 leases file
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2017-03-08 09:12:58 +01:00
Fabian Grünbichler
01e402f057 get DHCP leases on all interfaces
instead of calling the networking init script

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2017-03-08 09:11:30 +01:00
Fabian Grünbichler
85d2ce8192 drop eth0 from installer interfaces file
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2017-03-08 09:09:43 +01:00
Fabian Grünbichler
5e0d6dce6b only require grub-efi to succeed if booted using UEFI
newer grub versions treat not being able to register with
efibootmgr as error and exit accordingly. since registering
is not possible when booted using legacy BIOS, but we want
to install Grub for UEFI anyway, downgrade the 'die' to a
'warn' in such situations.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2017-03-08 08:11:42 +01:00
Dietmar Maurer
56635b9739 bump version to 4.0-16 2016-12-15 10:06:28 +01:00
Fabian Grünbichler
5f8e86d53b actually use more than 8 disks if selected
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2016-12-15 10:05:33 +01:00
Dietmar Maurer
f29589b455 bump version to 4.0-15 2016-12-13 09:12:59 +01:00
Fabian Grünbichler
d850589505 use explicit partition starts
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2016-12-13 09:11:01 +01:00
Fabian Grünbichler
b15f2bdf0b bump EFI partition size to 256M
this hopefully allows 4Kn disks to boot

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2016-12-13 09:10:09 +01:00
Dietmar Maurer
d0d8ce3fe0 compute_swapsize: add return statement 2016-12-10 18:14:40 +01:00
Dietmar Maurer
bb77a30793 bump version for new RELEASE=4.4 to 4.0-14
bump version for new RELEASE=4.4bump version for new RELEASE=4.4# On branch master
2016-12-09 12:03:16 +01:00
Fabian Grünbichler
6c7857dfaa remove leftover debug print
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2016-12-06 06:20:01 +01:00
Fabian Grünbichler
6c99667a70 make ashift a spinbutton instead of text entry
since "zpool create" only allows 9-13 as valid values anyway

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2016-12-06 06:19:49 +01:00
Dietmar Maurer
56445ecbf8 bump version to 4.0-13, set RELEASE=4.3 2016-12-05 11:41:40 +01:00
Fabian Grünbichler
034f75e4dc fix typos
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2016-12-05 10:29:45 +01:00
Fabian Grünbichler
a39bc1f27d add default invalid mail address
and switch default FQDN to "pve.example.invalid" as well, in
accordance with RFC 6761 (Special-Use Domain Names)

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2016-12-05 10:29:45 +01:00
Fabian Grünbichler
43b5216c9c use partition sizes for boot disk partitioning
instead of a mix of sectors and sizes with implicit 512b
sector size. switch alignment to default instead of 1 sector
as a result.

this wastes at most 1M (default alignment of sgdisk) for the
first partition, and should make the partitioning scheme
consistent irregardless of sector size.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2016-12-05 10:29:45 +01:00
Fabian Grünbichler
1bd457bb25 fix disk/partition size comments
for added clarity

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2016-12-05 10:29:45 +01:00
Fabian Grünbichler
c7779156db refactor disk setup, add advanced ZFS options
the stacked switcher allows us to easily add advanced panels
for other setup types in the future. also, the disk selection
grid for ZFS/BTRFS is now based on the number of detected
disks, instead of hard-coded to 8 entries.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2016-12-05 10:29:45 +01:00
Fabian Grünbichler
e73c5fcfc3 refactor check_float to check_*
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2016-12-05 10:19:32 +01:00
Fabian Grünbichler
b8f4f0f950 cleanup even-ness check for ZFS RAID10 2016-11-07 06:26:03 +01:00
Fabian Grünbichler
0cfa502cc0 spelling/grammar fixes 2016-11-07 06:25:35 +01:00
Fabian Grünbichler
14aacec828 fix #1190: allow ZFS mirrors with slightly different sizes 2016-11-07 06:25:21 +01:00
Dietmar Maurer
77ebccb166 bump version to 4.0-12 2016-09-21 13:13:10 +02:00
Dietmar Maurer
6f52fc3dac disable btrfs for now 2016-09-21 13:10:53 +02:00
Dietmar Maurer
9d69f3d3b3 fix error message 2016-09-21 13:06:15 +02:00
Dietmar Maurer
0f3d1edd9f fix update_progress while extracting files 2016-08-31 10:53:11 +02:00
Dietmar Maurer
37a88382de assume root file system is writable
We use overlayfs on tmpfs to make that work.
2016-08-31 10:21:11 +02:00
Dietmar Maurer
e11d96aac5 bump version to 4.0-11, depend on squashfs-tools 2016-08-31 08:50:32 +02:00
Dietmar Maurer
fafc616c95 use unsquashfs instead of tar 2016-08-31 08:18:57 +02:00
Dietmar Maurer
b0c4afccb8 issue a sync after installation
To be sure everything is on disk.
2016-08-31 08:17:55 +02:00
Dietmar Maurer
6b9003214a fix zfs test mode 2016-08-11 09:29:36 +02:00
Dietmar Maurer
121ebc596f implement btrfs setup (experimantal) 2016-08-11 09:17:51 +02:00
Dietmar Maurer
3eb2b684bc shrink textarea to fix into screen height 2016-08-09 10:41:30 +02:00
Dietmar Maurer
625a0e1338 use new repoman for upload target 2016-08-09 09:48:34 +02:00
Dietmar Maurer
26f89221d4 bump version to 4.0-10 2016-08-09 09:46:54 +02:00
Wolfgang Bumiller
249738686b Fix #1054: error on purely numeric hostnames 2016-08-09 09:40:39 +02:00
Dietmar Maurer
709d22e03a update layout, use new logo 2016-08-09 09:34:19 +02:00