Commit Graph

621 Commits

Author SHA1 Message Date
gardouille f5d03149b3
Avoid to mount tmpfs before debootstrap 2019-04-05 23:52:17 +02:00
gardouille f90a1dee19
Chroot: Install some dep for debootstrap/chroot 2019-04-05 22:56:29 +02:00
gardouille a5cd62bf0a
Chroot: Just create /root/.ssh dir to copy keys 2019-04-05 17:43:42 +02:00
gardouille 85275feeea
Chroot: Set the default system mount 2019-04-05 17:40:33 +02:00
gardouille fc69b8633f
Chroot: Ensure to remount device before run chroot 2019-04-05 17:25:38 +02:00
gardouille 81700aed1b
Chroot: Fix sed command to keep at least a slash… 2019-04-05 17:24:56 +02:00
gardouille b873299c0e
Chroot: Fix the path of latecommand script 2019-04-05 17:24:22 +02:00
gardouille 2f4d4c25d1
Chroot: Call a latecommand script to finish install
Set a correct rsyslog, logrotate,… configuration. I call the same script
at the end of all PXE install or for LXC templates.
2019-04-05 13:37:22 +02:00
gardouille 521b7ea84a
Chroot: Now use a network unit for systemd-networkd 2019-04-05 13:36:52 +02:00
gardouille 05a3de15ca
Chroot: ensure to have a mountpoint for the root… 2019-04-04 00:23:01 +02:00
gardouille 8bac33afa1
Chroot: Define hostname and hosts 2019-04-03 23:57:28 +02:00
gardouille 17a32b701d
Chroot: small fix for printf and create /root/.ssh 2019-04-03 23:44:53 +02:00
gardouille 166253b508
Chroot: Fix mount of some tmpfs for chroot
And remove some useless tmpfs from fstab.
2019-04-03 23:17:58 +02:00
gardouille 6583d32ddf
Chroot: Install kernel and grub 2019-04-03 23:13:44 +02:00
gardouille b8fff539b9
Chroot: Manage timezone 2019-04-03 23:13:29 +02:00
gardouille b057d1e3de
Chroot: generate locale(s) 2019-04-03 18:52:30 +02:00
gardouille 75c1b6725b
Chroot: Add FDN dns 2019-04-03 18:45:17 +02:00
gardouille 316a2ea748
Chroot: Generate interfaces network config 2019-04-03 18:38:37 +02:00
gardouille de35719b12
Chroot: include openssh-server and add keys 2019-04-03 17:03:48 +02:00
gardouille 28428ffb18
Chroot: Create the fstab file on the target system 2019-04-03 16:34:41 +02:00
gardouille c4ce689763
Ask the user to enter a new password for root user 2019-04-03 16:09:07 +02:00
gardouille c40b0151cc
Include aptitude package in debootstrap install 2019-04-03 15:43:22 +02:00
gardouille 0e29099e60
Create symlinks for mapper and volume group dir 2019-04-03 14:58:04 +02:00
gardouille da068ed9ce
Create LV inodes on the target system 2019-04-03 14:08:28 +02:00
gardouille ea717c0a75
Create disk/partitions on target system 2019-04-03 13:51:49 +02:00
gardouille 024feded3e
Run debootstrap 2019-04-03 09:52:55 +02:00
gardouille 6695f9564c
Add a label to part/LV 2019-04-03 09:22:30 +02:00
gardouille 9de6015afb
Create and mount the system for debootstrap 2019-04-02 20:53:34 +02:00
gardouille 6339ec9c16
Format first part in ext3 2019-04-02 20:19:27 +02:00
gardouille 3ef0dc3077
Force to format into ext4 2019-04-02 19:17:42 +02:00
gardouille 1f28586bbd
Manage LVM creation and format 2019-04-02 18:37:01 +02:00
gardouille d04ed9310b
Test if the script should manage partitions 2019-04-02 18:30:31 +02:00
gardouille e5dbbe5b14
Init chroot.install
Only prepare hard disk partitions right now.
2019-04-02 18:07:53 +02:00
gardouille 177a2a24b5
winboot: check all grub conf files 2019-03-13 20:39:14 +01:00
gardouille 9486c02189
Preseed: Set a specific vgname for gaming station 2019-03-05 18:51:08 +01:00
gardouille 3e13b62fe1
Preseed: install on the first device
If the USB is defined as the first device, unplug the USB/mini.iso when
the installer retrieve additionnals components.
2019-03-05 18:48:57 +01:00
gardouille 6fb36e2159
Preseed: mount the virt LV for Docker 2019-03-05 18:48:15 +01:00
gardouille 17353bfbfa
Add a specific ext4 LV for virtual machines 2019-02-26 18:54:53 +01:00
gardouille 39cb5deda1
Define default desktop environment 2019-02-21 22:50:02 +01:00
gardouille cf30326d68
Set a standard NTP server 2019-02-21 18:01:54 +01:00
gardouille 3db24290cb
Add a preseed for a laptop 2019-02-19 19:32:02 +01:00
gardouille 2baae9aeea
Add a new preseed for gaming station 2019-02-19 19:07:25 +01:00
gardouille df4627cfc2
Ensure to call the Sid's script in late_command 2019-01-24 17:15:44 +01:00
gardouille 54ffddf404
Download a script to complete creation of btrfs subvolumes 2019-01-24 16:42:03 +01:00
gardouille 8548ad1bc7
Use a direct download for late_command script 2019-01-24 16:41:34 +01:00
gardouille 1c3b5571e9
Auto-restart after finish the installation 2019-01-24 16:39:25 +01:00
gardouille 2239846950
Ensure to run the script only with a btrfs root system 2019-01-23 19:15:09 +01:00
gardouille f74820fab9
Don't try to move current and parent directories 2019-01-23 19:14:41 +01:00
gardouille 74eb9475b0
Ensure to keep directories content if present
This way the script can be called before installation or at the end
(preseed/late_command).
2019-01-23 18:56:57 +01:00
gardouille 0af422207b
Add Sid preseed files 2019-01-23 18:46:44 +01:00