Commit Graph

162 Commits

Author SHA1 Message Date
Michael Osipov
82958fb7b7 Trim trailing whitespace 2025-09-23 18:51:04 +02:00
Juan David Hurtado G
fa1102f084 bootstrap: initial support for Ubuntu Noble jail 2025-07-27 07:10:17 -05:00
Lucas Holt
c21fa1b98d Update MidnightBSD release versions
MidnightBSD 3.x has been out for awhile now.  Allow bootstrapping the current stable release (3.2.x) as well as prepare for 4.x which will be the next major release this year.
2025-05-31 12:06:17 -04:00
tschettervictor
b040474bf5 basic spacing fixes for help commands 2025-05-18 17:16:17 -06:00
tschettervictor
154911a72a bootstrap: Missed mountpoin 2025-05-17 19:07:55 -06:00
tschettervictor
4b860d9f5e support altroot 2025-05-17 18:46:36 -06:00
tschettervictor
f92a6a0872 bootstrap: Fix UFs bootstrap 2025-05-16 12:26:32 -06:00
tschettervictor
a27dbeda64 bootstrap: \n add to extract 2025-05-14 19:19:05 -06:00
tschettervictor
b7932e375a Don’t error exit if bootstrap complete, just show info 2025-05-14 11:32:11 -06:00
tschettervictor
dfcb11844f bootstrap: Don't need migratedir 2025-05-09 15:12:15 -06:00
tschettervictor
2a915fe5a7 bootstrap: chmod 777 on migratedir 2025-05-08 11:52:13 -06:00
tschettervictor
c0cd4df6c5 migrate: Auto creating directory required 2025-05-06 07:40:08 -06:00
tschettervictor
d861d8f753 bootstrap: Create migrate directory 2025-05-04 20:46:01 -06:00
tschettervictor
68f4aecddf finish refactor of line spacing 2025-05-01 17:39:50 -06:00
tschettervictor
ef53f34574 clone+bootstap spacing 2025-04-30 20:27:28 -06:00
tschettervictor
5f522bc179 fix bootstrap and rdr blank line 2025-04-30 19:23:23 -06:00
tschettervictor
bb47671cf0 half way point 2025-04-30 11:21:41 -06:00
tschettervictor
9633ce3c8f bootstrap: Bugfix when bootstrapping multiple templates 2025-04-23 18:45:19 -06:00
tschettervictor
601cd1c9cb fix shellcheck 2025-04-21 17:24:59 -06:00
tschettervictor
4feef07ca7 bootstrap: Bugfix when bootstrapping single template 2025-04-21 17:18:04 -06:00
tschettervictor
511c6dbd23 bootstrap: Fix verify 2025-04-21 17:13:25 -06:00
tschettervictor
fb3d300779 bootstrap: Fix cloning single template 2025-04-21 17:10:30 -06:00
tschettervictor
78764e581c fix shellcheck 2025-04-21 16:58:32 -06:00
tschettervictor
6888212953 fix shellcheck 2025-04-21 16:50:25 -06:00
tschettervictor
dd1308d1ad Allow bootstrapping templates in subdirectories 2025-04-21 16:47:49 -06:00
tschettervictor
eb0a4e8718 Update bootstrap.sh 2025-04-20 18:16:30 -06:00
tschettervictor
31caa72120 Update bootstrap.sh 2025-04-20 18:13:44 -06:00
tschettervictor
fce55220dd bootstarp: Also check for dataset existence 2025-04-20 18:12:37 -06:00
tschettervictor
12a9b76692 bootstrap: Ensure proper bastille_prefix mounting if the directory exists 2025-04-20 17:17:13 -06:00
tschettervictor
49a4bed126 Merge branch 'BastilleBSD:master' into custom-config 2025-03-03 16:26:54 -07:00
tschettervictor
454288b2b1 bastille: Load config only from commons.sh
Since all files source common.sh anyway, we don't want to source the config twice.
2025-03-02 11:23:35 -07:00
tschettervictor
6ba11dc762 bastille: Support user based config
This PR will allow bastille to be configured based on the user you run as.

To load the config for a specifig user, you must be logged in as the specified user, and there must be a file called "bastille_user.conf" inside /usr/local/etc/bastille or else bastille will just load the default config file.
2025-03-01 18:48:14 -07:00
tschettervictor
6fcbdef5eb bootstrap: Remove config option 2025-02-28 17:44:28 -07:00
tschettervictor
24eefc325f bootstrap: Allow bootstrapping with custom config 2025-02-28 17:32:45 -07:00
tschettervictor
026499262d bootstrap: Add debug mode 2025-02-23 23:31:57 -07:00
Juan David Hurtado G
8b0411c111 Add SPDX license identifiers and update copyright years
Added SPDX-License-Identifier to all scripts for better license clarity and compliance. Updated the copyright years from 2024 to 2025 in various files to reflect the current maintenance period.
2025-01-11 14:07:41 -05:00
Juan David Hurtado G
8808e8a5a4 [WIP] shellcheck linting 2024-12-08 20:57:43 -05:00
Juan David Hurtado G
7dbe1e761b rel: update copyright year and release version 2024-11-24 09:46:09 -05:00
yaazkal
09dcdd0ec7 [REF] clean code for PR#650 2024-07-13 17:29:30 -05:00
Eva Winterschön
19c8c021c4 diff patches applied to resolve errors on setup.sh and bootstrap.sh 2023-12-25 11:39:02 -08:00
Christer Edwards
3a4ebc63bb Merge pull request #642 from BastilleBSD/support_lowercase
fix logic for rc.conf + bastille.conf ZFS check
2023-11-25 19:15:16 -07:00
Christer Edwards
c627b1f7fa fix logic for rc.conf + bastille.conf ZFS check 2023-11-25 19:11:57 -07:00
Christer Edwards
32d67aea40 Merge pull request #640 from BastilleBSD/eol_patch
fix for recent EOL support patch
2023-11-25 17:07:56 -07:00
Christer Edwards
b30a7484bb fix for recent EOL support patch 2023-11-25 17:06:05 -07:00
Christer Edwards
622c926917 support lowercase values in bastille.conf (issue #368) 2023-11-25 15:09:11 -07:00
Christer Edwards
8906e491d0 initial support & docs to bootstrap EOL releases 2023-11-20 16:07:11 -07:00
Romain Tartière
157125c4af Relax validation of -BETA / -RC releases
Accross the code, release names are checked against some variation of
-BETAx / -RCx which are inconsistent in the range of accepted values for
`x`.

As  a consequence, some commands cannot be successfuly run while they
are valid, e.g. `bastille create test 14.0-RC4 10.0.0.2` is rejected
because only `*-RC1` and `*-RC2` are accepted as a RC release name.

Find out these lists of specific BETA and RC patterns and adjust them to
allow any one-digit value at the end.  We generaly do up to 4 BETA / RC
releases, so a one digit limit is probably enough for the time being.
2023-11-10 08:09:51 -10:00
Christer Edwards
15f2ea8574 Merge branch 'master' of https://github.com/bastillebsd/bastille into 2023_release 2023-07-14 21:02:30 -06:00
Christer Edwards
4efcc5021c update copyright dates 2023-07-14 21:02:14 -06:00
gqgunhed
6e78be22f0 added focal+jammy to Apt::Cache-Start
Ran into an error without the change when using the "universe" repos, so I included these.
2023-07-10 13:04:25 +02:00