]> git.proxmox.com Git - pve-installer.git/log
pve-installer.git
7 years agouse product for lvm volume group name
Dietmar Maurer [Fri, 17 Nov 2017 08:03:50 +0000 (09:03 +0100)]
use product for lvm volume group name

7 years agouse product in zfs rool volume name
Dietmar Maurer [Tue, 21 Nov 2017 05:43:33 +0000 (06:43 +0100)]
use product in zfs rool volume name

7 years agouse product name for hostname
Dietmar Maurer [Tue, 21 Nov 2017 05:34:41 +0000 (06:34 +0100)]
use product name for hostname

7 years agowrite final package list to final.pkglist
Dietmar Maurer [Tue, 21 Nov 2017 05:32:51 +0000 (06:32 +0100)]
write final package list to final.pkglist

7 years agodo not unmount /var/lib/vz (it is not mounted)
Dietmar Maurer [Tue, 21 Nov 2017 05:31:50 +0000 (06:31 +0100)]
do not unmount /var/lib/vz (it is not mounted)

7 years agoonly save country settings for product pve
Dietmar Maurer [Tue, 21 Nov 2017 05:27:52 +0000 (06:27 +0100)]
only save country settings for product pve

7 years agoimplement normal/bridged network setup
Dietmar Maurer [Fri, 17 Nov 2017 06:16:53 +0000 (07:16 +0100)]
implement normal/bridged network setup

7 years agocleanup: remove unused variable $release
Dietmar Maurer [Tue, 21 Nov 2017 05:16:54 +0000 (06:16 +0100)]
cleanup: remove unused variable $release

7 years agosimplify code: remove varfiable $enable_btrfs
Dietmar Maurer [Tue, 21 Nov 2017 05:16:00 +0000 (06:16 +0100)]
simplify code: remove varfiable $enable_btrfs

7 years agoavoid duplicate debconfig_set
Dietmar Maurer [Thu, 16 Nov 2017 07:05:49 +0000 (08:05 +0100)]
avoid duplicate debconfig_set

7 years agopmg: create user.conf
Dietmar Maurer [Tue, 21 Nov 2017 05:12:46 +0000 (06:12 +0100)]
pmg: create user.conf

7 years agoonly create pmxcfs for product pve
Dietmar Maurer [Tue, 21 Nov 2017 05:08:02 +0000 (06:08 +0100)]
only create pmxcfs for product pve

7 years agoonly check kvm support for product pve
Dietmar Maurer [Tue, 21 Nov 2017 05:05:56 +0000 (06:05 +0100)]
only check kvm support for product pve

7 years agocountry.pl: use warnings instead of -w
Dietmar Maurer [Tue, 21 Nov 2017 05:03:17 +0000 (06:03 +0100)]
country.pl: use warnings instead of -w

7 years agocleanup control file
Dietmar Maurer [Mon, 20 Nov 2017 11:57:38 +0000 (12:57 +0100)]
cleanup control file

7 years agobuild pmg-installer package
Dietmar Maurer [Mon, 20 Nov 2017 11:57:11 +0000 (12:57 +0100)]
build pmg-installer package

7 years agorename DEB to PVE_DEB
Dietmar Maurer [Mon, 20 Nov 2017 11:36:28 +0000 (12:36 +0100)]
rename DEB to PVE_DEB

7 years agoremove unused code url_requested()
Dietmar Maurer [Mon, 20 Nov 2017 11:12:12 +0000 (12:12 +0100)]
remove unused code url_requested()

7 years agouse absulute path for proxmox_libdir
Dietmar Maurer [Mon, 20 Nov 2017 11:11:11 +0000 (12:11 +0100)]
use absulute path for proxmox_libdir

So that webkit correctly load local files

7 years agoinstall proxlogo.png to /var/lib/pve-installer
Dietmar Maurer [Mon, 20 Nov 2017 10:02:29 +0000 (11:02 +0100)]
install proxlogo.png to /var/lib/pve-installer

7 years agocorrectly read content from base.cnt
Dietmar Maurer [Mon, 20 Nov 2017 09:59:35 +0000 (10:59 +0100)]
correctly read content from base.cnt

7 years agoalways display EULA file
Dietmar Maurer [Mon, 20 Nov 2017 09:48:00 +0000 (10:48 +0100)]
always display EULA file

7 years agomacke check: use files from testdir
Dietmar Maurer [Mon, 20 Nov 2017 09:45:39 +0000 (10:45 +0100)]
macke check: use files from testdir

7 years agouse "../pve-cd-builder/tmp/data-gz/" for testing
Dietmar Maurer [Mon, 20 Nov 2017 09:41:22 +0000 (10:41 +0100)]
use "../pve-cd-builder/tmp/data-gz/" for testing

7 years agouse $proxmox_libdir for country.dat
Dietmar Maurer [Fri, 17 Nov 2017 06:25:09 +0000 (07:25 +0100)]
use $proxmox_libdir for country.dat

7 years agorename $proxmox_dir to $proxmox_libdir
Dietmar Maurer [Fri, 17 Nov 2017 06:20:53 +0000 (07:20 +0100)]
rename $proxmox_dir to $proxmox_libdir

7 years agouse ssh -X for repoman uploads
Dietmar Maurer [Mon, 20 Nov 2017 09:29:22 +0000 (10:29 +0100)]
use ssh -X for repoman uploads

7 years agouse files from ../pve-cd-builder for testing
Dietmar Maurer [Mon, 20 Nov 2017 09:28:22 +0000 (10:28 +0100)]
use files from ../pve-cd-builder for testing

7 years agoadd html files for pmg
Dietmar Maurer [Mon, 20 Nov 2017 09:05:15 +0000 (10:05 +0100)]
add html files for pmg

7 years agodo not depend on Makefiles
Dietmar Maurer [Mon, 20 Nov 2017 09:01:38 +0000 (10:01 +0100)]
do not depend on Makefiles

7 years agomove html to html-pve
Dietmar Maurer [Mon, 20 Nov 2017 08:59:17 +0000 (09:59 +0100)]
move html to html-pve

7 years agocopied country.pl form pve-manager
Dietmar Maurer [Mon, 20 Nov 2017 08:29:28 +0000 (09:29 +0100)]
copied country.pl form pve-manager

7 years agoadd product specific setup file
Dietmar Maurer [Mon, 20 Nov 2017 08:20:07 +0000 (09:20 +0100)]
add product specific setup file

7 years agouse warnings instead of -w flag
Dietmar Maurer [Mon, 20 Nov 2017 07:26:03 +0000 (08:26 +0100)]
use warnings instead of -w flag

7 years agouse debian/pve-installer.install to install product specific html files
Dietmar Maurer [Mon, 20 Nov 2017 07:16:11 +0000 (08:16 +0100)]
use debian/pve-installer.install to install product specific html files

7 years agomove common html file to html-common
Dietmar Maurer [Mon, 20 Nov 2017 07:09:39 +0000 (08:09 +0100)]
move common html file to html-common

7 years agoremove unused .png files
Dietmar Maurer [Mon, 20 Nov 2017 06:23:58 +0000 (07:23 +0100)]
remove unused .png files

7 years agoadd xinitrc and Xdefaults to INSTALLER_SOURCES
Dietmar Maurer [Mon, 20 Nov 2017 06:21:43 +0000 (07:21 +0100)]
add xinitrc and Xdefaults to INSTALLER_SOURCES

7 years agoMakefile: add empty 'all' target
Dietmar Maurer [Mon, 20 Nov 2017 06:08:37 +0000 (07:08 +0100)]
Makefile: add empty 'all' target

7 years agodebian/control - add Source section
Dietmar Maurer [Mon, 20 Nov 2017 06:06:59 +0000 (07:06 +0100)]
debian/control - add Source section

7 years agoMakefile: improve cleanup target
Dietmar Maurer [Mon, 20 Nov 2017 06:02:45 +0000 (07:02 +0100)]
Makefile: improve cleanup target

7 years agouse debian directory with dpkg-buildpackage
Dietmar Maurer [Mon, 20 Nov 2017 06:00:58 +0000 (07:00 +0100)]
use debian directory with dpkg-buildpackage

7 years agorun_command: better return status check - recognice signals
Dietmar Maurer [Thu, 16 Nov 2017 10:39:02 +0000 (11:39 +0100)]
run_command: better return status check - recognice signals

7 years agoreally bump version
Fabian Grünbichler [Thu, 19 Oct 2017 09:07:41 +0000 (11:07 +0200)]
really bump version

7 years agobump version to 5.0-7
Fabian Grünbichler [Thu, 19 Oct 2017 08:57:39 +0000 (10:57 +0200)]
bump version to 5.0-7

7 years agokill dhclient before rebooting
Fabian Grünbichler [Thu, 19 Oct 2017 08:25:05 +0000 (10:25 +0200)]
kill dhclient before rebooting

this fixes the pesky unmount cdrom bug

7 years agoexport rpool after installation
Fabian Grünbichler [Thu, 19 Oct 2017 08:09:39 +0000 (10:09 +0200)]
export rpool after installation

7 years agofix #1479: detect missing KVM support
Fabian Grünbichler [Tue, 22 Aug 2017 12:18:46 +0000 (14:18 +0200)]
fix #1479: detect missing KVM support

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
7 years agofix typos
Fabian Grünbichler [Wed, 16 Aug 2017 09:50:05 +0000 (11:50 +0200)]
fix typos

7 years agofix $release value (for testmode)
Fabian Grünbichler [Wed, 16 Aug 2017 09:49:36 +0000 (11:49 +0200)]
fix $release value (for testmode)

7 years agobump version to 5.0-6
Fabian Grünbichler [Thu, 10 Aug 2017 11:58:38 +0000 (13:58 +0200)]
bump version to 5.0-6

7 years agocorrectly set keymap
Fabian Grünbichler [Thu, 10 Aug 2017 11:30:17 +0000 (13:30 +0200)]
correctly set keymap

otherwise console-setup will fail. we already use the same
keymap string to set the keyboard layout in the installer
itself.

7 years agobump version to 5.0-5
Fabian Grünbichler [Wed, 9 Aug 2017 07:41:47 +0000 (09:41 +0200)]
bump version to 5.0-5

7 years agobuild: add deb target
Fabian Grünbichler [Wed, 9 Aug 2017 07:42:33 +0000 (09:42 +0200)]
build: add deb target

7 years agohandle invalid or unknown detected country
Fabian Grünbichler [Fri, 28 Jul 2017 11:16:56 +0000 (13:16 +0200)]
handle invalid or unknown detected country

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
7 years agofix postfix installation with no active network
Fabian Grünbichler [Thu, 27 Jul 2017 08:31:16 +0000 (10:31 +0200)]
fix postfix installation with no active network

by ensuring at least lo is up inside the chroot environment

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
7 years agocontrol: fix version
Dietmar Maurer [Tue, 27 Jun 2017 12:45:07 +0000 (14:45 +0200)]
control: fix version

7 years agobump version to 5.0-4
Fabian Grünbichler [Fri, 23 Jun 2017 07:49:50 +0000 (09:49 +0200)]
bump version to 5.0-4

7 years agorework text on password/email entry step
Thomas Lamprecht [Fri, 16 Jun 2017 14:08:09 +0000 (16:08 +0200)]
rework text on password/email entry step

Reworked this text with the help of Daniela.

Change the following:
* Elaborated for what the email gets used.
* Rework the (paraphrased) "we are based on Debian, therefore your
  password needs to be 5 characters or longer" sentence. it didn't
  made sense, in our opinion.
* tell the users that he sets the root password, while most would
  expect this, users new to Linux, or coming from the windows world
  may not.
* move the "Press the Next button [...]" to the right side.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Signed-off-by: Daniela Häsler <daniela@proxmox.com>
7 years agoreally bump version
Fabian Grünbichler [Fri, 5 May 2017 10:13:02 +0000 (12:13 +0200)]
really bump version

7 years agobump version to 5.0-3
Fabian Grünbichler [Fri, 5 May 2017 10:11:39 +0000 (12:11 +0200)]
bump version to 5.0-3

7 years agolet raid dialogue grow if > 4 disks
Fabian Grünbichler [Fri, 5 May 2017 08:43:49 +0000 (10:43 +0200)]
let raid dialogue grow if > 4 disks

7 years agoadd initial check for NICs
Fabian Grünbichler [Thu, 4 May 2017 09:21:29 +0000 (11:21 +0200)]
add initial check for NICs

7 years agorestructure initial HD check
Fabian Grünbichler [Thu, 4 May 2017 09:13:48 +0000 (11:13 +0200)]
restructure initial HD check

7 years agoignore link-local addresses
Fabian Grünbichler [Thu, 4 May 2017 09:13:27 +0000 (11:13 +0200)]
ignore link-local addresses

7 years agoclean disks prior to formatting
Fabian Grünbichler [Thu, 4 May 2017 07:53:36 +0000 (09:53 +0200)]
clean disks prior to formatting

primarily to prevent old PVs/VGs from interfering with
reformatting.

7 years agoexplicitly mount ESP as vfat
Fabian Grünbichler [Thu, 4 May 2017 07:50:08 +0000 (09:50 +0200)]
explicitly mount ESP as vfat

otherwise "mount" might get confused by old zpool labels or
other cruft, and error out.

7 years agozero start of partitions after formatting disk
Fabian Grünbichler [Thu, 4 May 2017 07:49:21 +0000 (09:49 +0200)]
zero start of partitions after formatting disk

to remove any leftover signatures

7 years agofix XFS mount options
Fabian Grünbichler [Wed, 15 Mar 2017 10:54:31 +0000 (11:54 +0100)]
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>
7 years agobump version to 5.0-2
Fabian Grünbichler [Tue, 14 Mar 2017 08:44:48 +0000 (09:44 +0100)]
bump version to 5.0-2

7 years agoalways select an interface
Fabian Grünbichler [Tue, 14 Mar 2017 08:43:52 +0000 (09:43 +0100)]
always select an interface

even if DHCP failed

7 years agobump version to 5.0-1
Fabian Grünbichler [Mon, 13 Mar 2017 12:07:21 +0000 (13:07 +0100)]
bump version to 5.0-1

7 years agobuildsys: update make upload target for stretch
Fabian Grünbichler [Mon, 13 Mar 2017 12:07:13 +0000 (13:07 +0100)]
buildsys: update make upload target for stretch

7 years agobuildsys: use gzip -n
Fabian Grünbichler [Tue, 14 Feb 2017 13:00:55 +0000 (14:00 +0100)]
buildsys: use gzip -n

7 years agobuildsys: use fakeroot for dpkg-deb
Fabian Grünbichler [Tue, 14 Feb 2017 13:00:21 +0000 (14:00 +0100)]
buildsys: use fakeroot for dpkg-deb

7 years agofix #1239: enhance swap on ZFS setup
Fabian Grünbichler [Wed, 25 Jan 2017 15:03:50 +0000 (16:03 +0100)]
fix #1239: enhance swap on ZFS setup

set properties according to upstream documentation

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
7 years agomake network configuration page more explicit
Fabian Grünbichler [Tue, 7 Mar 2017 15:03:04 +0000 (16:03 +0100)]
make network configuration page more explicit

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
7 years agofix typo in variable name
Fabian Grünbichler [Tue, 7 Mar 2017 15:03:03 +0000 (16:03 +0100)]
fix typo in variable name

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
7 years agouse iproute2, support interface selection
Fabian Grünbichler [Tue, 7 Mar 2017 15:03:02 +0000 (16:03 +0100)]
use iproute2, support interface selection

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
7 years agodon't link eth0 leases file
Fabian Grünbichler [Tue, 7 Mar 2017 15:03:01 +0000 (16:03 +0100)]
don't link eth0 leases file

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
7 years agoget DHCP leases on all interfaces
Fabian Grünbichler [Tue, 7 Mar 2017 15:03:00 +0000 (16:03 +0100)]
get DHCP leases on all interfaces

instead of calling the networking init script

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
7 years agodrop eth0 from installer interfaces file
Fabian Grünbichler [Tue, 7 Mar 2017 15:02:59 +0000 (16:02 +0100)]
drop eth0 from installer interfaces file

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
7 years agoonly require grub-efi to succeed if booted using UEFI
Fabian Grünbichler [Tue, 7 Mar 2017 15:02:58 +0000 (16:02 +0100)]
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>
7 years agobump version to 4.0-16
Dietmar Maurer [Thu, 15 Dec 2016 09:06:28 +0000 (10:06 +0100)]
bump version to 4.0-16

7 years agoactually use more than 8 disks if selected
Fabian Grünbichler [Wed, 14 Dec 2016 13:08:44 +0000 (14:08 +0100)]
actually use more than 8 disks if selected

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
7 years agobump version to 4.0-15
Dietmar Maurer [Tue, 13 Dec 2016 08:12:59 +0000 (09:12 +0100)]
bump version to 4.0-15

7 years agouse explicit partition starts
Fabian Grünbichler [Mon, 12 Dec 2016 13:07:03 +0000 (14:07 +0100)]
use explicit partition starts

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
7 years agobump EFI partition size to 256M
Fabian Grünbichler [Mon, 12 Dec 2016 13:07:02 +0000 (14:07 +0100)]
bump EFI partition size to 256M

this hopefully allows 4Kn disks to boot

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
7 years agocompute_swapsize: add return statement
Dietmar Maurer [Sat, 10 Dec 2016 17:14:40 +0000 (18:14 +0100)]
compute_swapsize: add return statement

7 years agobump version for new RELEASE=4.4 to 4.0-14
Dietmar Maurer [Fri, 9 Dec 2016 11:03:16 +0000 (12:03 +0100)]
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

7 years agoremove leftover debug print
Fabian Grünbichler [Mon, 5 Dec 2016 12:48:46 +0000 (13:48 +0100)]
remove leftover debug print

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
7 years agomake ashift a spinbutton instead of text entry
Fabian Grünbichler [Mon, 5 Dec 2016 12:48:45 +0000 (13:48 +0100)]
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>
7 years agobump version to 4.0-13, set RELEASE=4.3
Dietmar Maurer [Mon, 5 Dec 2016 10:41:08 +0000 (11:41 +0100)]
bump version to 4.0-13, set RELEASE=4.3

7 years agofix typos
Fabian Grünbichler [Fri, 2 Dec 2016 08:55:18 +0000 (09:55 +0100)]
fix typos

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
7 years agoadd default invalid mail address
Fabian Grünbichler [Fri, 2 Dec 2016 08:55:17 +0000 (09:55 +0100)]
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>
7 years agouse partition sizes for boot disk partitioning
Fabian Grünbichler [Fri, 2 Dec 2016 08:55:16 +0000 (09:55 +0100)]
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>
7 years agofix disk/partition size comments
Fabian Grünbichler [Fri, 2 Dec 2016 08:55:15 +0000 (09:55 +0100)]
fix disk/partition size comments

for added clarity

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
7 years agorefactor disk setup, add advanced ZFS options
Fabian Grünbichler [Fri, 2 Dec 2016 08:55:14 +0000 (09:55 +0100)]
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>
7 years agorefactor check_float to check_*
Fabian Grünbichler [Fri, 2 Dec 2016 08:55:13 +0000 (09:55 +0100)]
refactor check_float to check_*

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
8 years agocleanup even-ness check for ZFS RAID10
Fabian Grünbichler [Fri, 4 Nov 2016 11:39:08 +0000 (12:39 +0100)]
cleanup even-ness check for ZFS RAID10