Commit Graph

742 Commits

Author SHA1 Message Date
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
Stoiko Ivanov
5cc70aeb95 Fix typo in get_hdsize_spinbtn errormessage
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2018-11-28 13:09:25 +01:00
Thomas Lamprecht
702e989064 bump version to 5.0-23
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-23 12:21:14 +01:00
Thomas Lamprecht
d7fe65ff9f hdsize spinbutton: do not use our but a singleton closure
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-23 12:21:14 +01:00
Stoiko Ivanov
176f065d3d buildsys: use truncate to create test.img
saves time during creation and subsequent rsync

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2018-11-22 19:09:02 +01:00
Stoiko Ivanov
7504ab82e4 Do not create a swap zvol
Using zvols as swap devices does create deadlocks for users, as of zfs 0.7.9.
As the discussion of the issue [0] shows, fixing this is involved, and probably
won't be happening anytime soon (before zfs 0.8).

Not creating swap as a zvol seems like the better default setting for now.

Users needing swap can either leave unpartitioned space, by setting minfree,
or create the zvol quite easily after installation

[0] https://github.com/zfsonlinux/zfs/issues/7734

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2018-11-22 19:09:02 +01:00
Stoiko Ivanov
a2fea8f274 Add hdsize spinbutton to ZFS grid
by creating a shared entrybuffer with the hdsize widget in the regular
partitioning menu.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2018-11-22 19:09:02 +01:00
Stoiko Ivanov
3f6dfdf31e Fix typo in error message.
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2018-11-22 19:09:02 +01:00
Stoiko Ivanov
d6e919d716 Refactor $maxhdsize computation
Pass $config_options->{hdsize} to partition_bootable_disk, where needed,
and do the unitconversion in partition_bootable_disk.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2018-11-22 19:09:02 +01:00
Stoiko Ivanov
dc4942618e Remove partition_bootable_zfs_disk
As it is not used anymore

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2018-11-22 19:09:02 +01:00
Stoiko Ivanov
118d4f402c Unify and adapt disk partitioning
Change partition_bootable_disk:
* Increase the efi-esp partitions' size to 512M (from 256M)
* Create the bios_boot partition in the first MB (sectors 34:2047)
* Split the sgdisk invocation into 2, to get 1M alignment for efi and os
  partitions

Changes are inspired by the wiki-entries by zol-upstream [0].

Use partition_bootable_disk also for bootable ZFS disks.
This provides users with the opportunity to leave unpartitioned space at
the end of the disk (by setting the hdsize parameter) for use outside of ZFS
(e.g. to create a dedicated swap partition).

[0] https://github.com/zfsonlinux/zfs/wiki/Debian-Stretch-Root-on-ZFS

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2018-11-22 19:09:02 +01:00
Rhonda D'Vine
1a13a6204c Fix #1527: Use 'iso-codes' package country naming
The iso 3166-1 information in the iso-codes package seems to be more
up to par than the one that was used from tzdata.  Also remove
obsolete comments.

Signed-off-by: Rhonda D'Vine <rhonda@proxmox.com>
2018-09-17 15:07:31 +02:00
Rhonda D'Vine
1ab2e82a21 Use https:// for Homepage directly
Signed-off-by: Rhonda D'Vine <rhonda@proxmox.com>
2018-09-13 09:48:36 +02:00
Rhonda D'Vine
e9bbee5316 Add libpve-common-perl to Build-Depends
This one was missing.  Formating got adjusted too.

Signed-off-by: Rhonda D'Vine <rhonda@proxmox.com>
2018-09-13 09:48:28 +02:00
David Limbeck
57cd2e0f92 remove undocumented/unused pvelocalhost 2018-08-14 12:23:44 +02:00
David Limbeck
54e9c54c07 fix #1853: spelling errors 2018-08-06 14:01:38 +02:00
Wolfgang Link
c9e6f67bb3 Allow more than 26 SCSI disk devices.
Some customers have more than 26 devices,
for example, if they use multipath on a DAS box.

In the Linux Documentation admin-guide/devices.txt
is written 256 SCSI disk devices are possible.

Signed-off-by: Wolfgang Link <w.link@proxmox.com>
2018-07-02 12:24:21 +02:00
Wolfgang Bumiller
51617a31fa fix #1817: spelling errors
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2018-06-20 09:56:10 +02:00
Thomas Lamprecht
8eee254d11 fix grammar error
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-06-07 08:36:15 +02:00
Thomas Lamprecht
9b9ddfceb1 use more lightweight rsvg-convert to generate PNG from SVG
inkscape pulls in a lot of dependencies and we explicitly made the
switch to the more lightweight rsvg-convert, provided through the
librsvg2-bin package in pve-docs, so do here the same.
2018-06-07 08:36:13 +02:00
Fabian Grünbichler
af0245d15a bump version to 5.0-22
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-05-11 13:17:55 +02:00
Fabian Grünbichler
d8c697d458 fix typo
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-05-11 13:09:37 +02:00
Fabian Grünbichler
e2c51d7c8c handle local-only LVM setup
if no thin pool has been created (requested or because of lack of
space), don't reference it in storage.cfg

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-05-11 13:09:37 +02:00
Fabian Grünbichler
e093944cef handle minfree=0 correctly
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-05-11 13:09:37 +02:00
Fabian Grünbichler
2ba9752e99 handle maxvz=0 correctly
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-05-11 13:09:37 +02:00
Fabian Grünbichler
9bb301fbfc handle swapsize=0 correctly
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-05-11 13:09:37 +02:00
Fabian Grünbichler
d1969047d1 fix #1241: ensure at least 1G of thinpool metadata
and take metadata out of the (potential) data space, not the
reserved/minfree space.

also avoid creating very small thin pools.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-05-11 13:09:37 +02:00
Dietmar Maurer
b55d21e56f bump version to 5.0-21 2018-01-22 07:58:13 +01:00
Dietmar Maurer
7e5a3ae9bc ipconf.htm: remove pve product name
Because we alsu use that for PMG.
2018-01-22 07:56:32 +01:00
Dietmar Maurer
ed95679326 bump version to 5.0-20 2017-12-22 07:44:05 +01:00
Dietmar Maurer
1464c7c92e white space cleanups 2017-12-22 07:43:01 +01:00
Dietmar Maurer
0adc7ca056 proxinstall: only display option maxroot for product pve 2017-12-22 07:41:23 +01:00
Dietmar Maurer
7d865b96c1 bump version to 5.0-19 2017-12-14 11:19:43 +01:00
Dietmar Maurer
bd9d62a79d fix typo 2017-12-13 10:48:32 +01:00
Fabian Grünbichler
35f05681ce allow all valid netmasks 2017-12-01 11:34:46 +01:00
Dietmar Maurer
85cb5a90b4 bump version to 5.0-18 2017-11-23 09:53:39 +01:00
Dietmar Maurer
3fcd842002 proxinstall - only creat ezfs data pool for product pve 2017-11-23 09:52:39 +01:00
Dietmar Maurer
1ca496ce45 re-add setup files
They where removed by accident in one previous commit.
2017-11-22 13:19:01 +01:00