tschettervictor
725c9f2ab8
Merge pull request #1228 from JRGTH/destroy_cmd_bugfix
2025-09-10 08:01:17 -04:00
JRGTH
03802ec48f
Fix destroy single digit on major version releases
...
This will fix the regex to be able to destroy single digit on major version releases.
Problem:
Users can download single digit releases with archive repository address, however we can't destroy them later on.
2025-09-10 03:55:57 -04:00
tschettervictor
9249baa7de
parallel: Remove pkg, destroy, migrate
2025-07-12 21:25:34 -06:00
tschettervictor
3ba09483c6
destroy: Add newlines on warning message
2025-05-23 18:28:52 -06:00
tschettervictor
b040474bf5
basic spacing fixes for help commands
2025-05-18 17:16:17 -06:00
tschettervictor
0f46a1232c
fix shellcheck
2025-05-05 21:11:26 -06:00
tschettervictor
fac41e1249
destroy: Ask for confirmation unless -y
2025-05-05 21:08:08 -06:00
tschettervictor
76cda4b53f
fix & for subshell
2025-05-04 12:35:12 -06:00
tschettervictor
39ed1aaec6
Initial commit for subshell parallel mode
2025-05-04 12:11:16 -06:00
tschettervictor
68f4aecddf
finish refactor of line spacing
2025-05-01 17:39:50 -06:00
tschettervictor
824ffb2980
Add \n to info _jail
2025-04-30 18:49:14 -06:00
tschettervictor
bb47671cf0
half way point
2025-04-30 11:21:41 -06:00
tschettervictor
bef2ece965
adjust blank line option
2025-04-30 08:19:50 -06:00
tschettervictor
b73639d8b6
rework blank lines again
2025-04-29 21:58:15 -06:00
tschettervictor
046cf87e79
rework blank line
2025-04-29 21:51:24 -06:00
tschettervictor
310258f4b4
set _LAST_JAIL in common
2025-04-29 21:08:08 -06:00
tschettervictor
7974eb7429
only set _last_jail once
2025-04-29 20:53:27 -06:00
tschettervictor
feaf8c792b
print blank line after last jail
2025-04-29 20:48:11 -06:00
tschettervictor
f423446370
add blank line after each jail on multiple targets
2025-04-29 18:54:34 -06:00
tschettervictor
fe08a6a63e
destroy: error_exit > error_continue
2025-04-26 18:40:17 -06:00
tschettervictor
93fe3c8e47
destroy: Remove deprecated ref to bastille_list
2025-04-22 09:11:05 -06:00
JRGTH
a71d55b15e
Don't delete jail content on error, cleanup
...
Don't delete jail content on busy datasets by default, cleanup.
2025-04-09 19:51:54 -04:00
tschettervictor
e3dddd25e7
Merge branch 'master' into priority-add
2025-03-26 23:30:38 -06:00
tschettervictor
b843b2c100
priority: Use priority list for all comm
2025-03-17 19:54:34 -06: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
90a6445e35
destroy: Copyright year > 2025
2025-02-22 12:27:04 -07:00
tschettervictor
51bf512835
destroy: New functions
2025-02-22 12:14:04 -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
tschettervictor
ba2ff8ef75
better error handling
2024-12-31 10:33:59 -07:00
tschettervictor
80139a1c8d
Merge branch 'BastilleBSD:master' into patch-1
2024-12-16 07:24:59 -07:00
Juan David Hurtado G
8808e8a5a4
[WIP] shellcheck linting
2024-12-08 20:57:43 -05:00
tschettervictor
09808b70dd
Update destroy.sh - allow for jail root to be mounted when destroying
...
This will allow the jail root to be mounted when destroying a jail, but if anything under 'root' is still mounted, it will exit.
2024-11-24 17:45:49 -07:00
tschettervictor
ab56fb5761
Update destroy.sh - refuse to destroy jail with mounted filesystem
2024-11-24 15:24:21 -07:00
Juan David Hurtado G
7dbe1e761b
rel: update copyright year and release version
2024-11-24 09:46:09 -05:00
Christer Edwards
622c926917
support lowercase values in bastille.conf (issue #368 )
2023-11-25 15:09: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
cf569eaeeb
Updated supported Linux releases
...
Added
- Ubuntu2204
- Debian12
Removed
- Debian9
2023-07-10 12:19:30 +02:00
Lars Engels
64c3b6045e
Allow running bastille and subcomands with help flags as regular user
2023-03-16 20:58:11 +01:00
JRGTH
03b9817f5a
Initial support for clone jails
2022-01-15 11:32:28 -04:00
Christer Edwards
2f59bdecec
add Debian 11 'bullseye' to Linux supported list
2021-12-22 18:35:49 -07:00
Christer Edwards
a115ba5b87
Merge pull request #420 from JRGTH/master
...
Extra validation for Linux jails, small changes
2021-12-21 20:15:58 -07:00
Christer Edwards
faf3b2b691
use full path when calling jls binary
2021-12-17 19:09:49 -07:00
JRGTH
e92451b37c
Add debian stretch/buster, small changes
2021-08-07 13:17:32 -04:00
JRGTH
9967a56e64
Improvements for Linux releases and code maintenance
2021-08-06 19:44:25 -04:00
Christer Edwards
a311379afa
Merge pull request #357 from ddowse/master
...
Help output to show real value for options instead of just [options]
2021-05-04 19:02:14 -06:00
Bike Dude
2278b3b4d5
RC5
2021-04-03 18:01:29 +02:00
Bike Dude
f0d41580b8
add RC3/4 support
2021-04-03 17:47:50 +02:00