Commit Graph

38 Commits

Author SHA1 Message Date
tschettervictor
752d521c25 upgrade: Check release before jail 2025-04-04 17:37:15 -06:00
tschettervictor
323f2fa590 upgrade: Fix bug when upgrading thin jails 2025-04-04 16:15:05 -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
4c251451ba upgrade: Use config command to get release on thin jails 2025-02-28 22:55:05 -07:00
tschettervictor
9c6067f7a2 upgrade: Make sure thin jails are stopped before upgrading 2025-02-28 22:46:27 -07:00
tschettervictor
0b77f94d2f upgrade: Check jail is running earlier 2025-02-28 22:36:38 -07:00
tschettervictor
4551d6c806 upgrade: Exit if NEWREASE not found on thin jail upgrade 2025-02-27 17:09:20 -07:00
tschettervictor
4fc9426bc1 upgrade: let users know to restart and run install command again 2025-01-20 12:36:27 -07:00
tschettervictor
5cfbe222ad upgrade: Fix jail update var 2025-01-17 12:27:11 -07:00
tschettervictor
e4f58af770 upgrade: Use -j jailname instead of -b 2025-01-16 07:27:48 -07:00
tschettervictor
35f698bc96 upgrade: use $jailpath for vars 2025-01-16 07:25:49 -07:00
tschettervictor
5394ad8979 upgrade: Update "osrelease" entry 2025-01-14 13:22:30 -07:00
tschettervictor
6bddbaab2c upgrade: deprecate RELEASE upgrade, fix thick/thin jail upgrades 2025-01-14 13:03:36 -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
7dbe1e761b rel: update copyright year and release version 2024-11-24 09:46:09 -05:00
Jason Tubnor
aa688f7072 Update upgrade.sh
Allow the uplift of jails to test BETA and RC branches before release
2023-09-20 09:44:28 +10:00
Christer Edwards
4efcc5021c update copyright dates 2023-07-14 21:02:14 -06:00
Lars Engels
64c3b6045e Allow running bastille and subcomands with help flags as regular user 2023-03-16 20:58:11 +01:00
Christer Edwards
aafc2b3323 0.9.20220216 release 2022-02-16 23:28:09 -07:00
Christer Edwards
faf3b2b691 use full path when calling jls binary 2021-12-17 19:09:49 -07:00
JRGTH
e564d50b2c Code review/cleanup routine 2021-07-14 13:57:09 -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
Daniel Dowse
8cb20e4457 Help output to show real value for options instead of [options] 2021-03-03 00:30:17 +01:00
Lucas Holt
1710a09f6a Add preliminary support for MidnightBSD. 2021-02-26 16:55:56 -05:00
Jose
ed8ff8bd80 Fix to properly upgrade base releases 2021-01-09 21:24:05 -04:00
Jose
dd9e55bb9b Update command enhancement and code improvements 2020-11-24 08:38:49 -04:00
Jose
52643c7e07 Add upgrade release validation 2020-11-22 20:01:14 -04:00
Jose
3dc2db84b0 Upgrade thick jails from bastille 2020-11-21 00:33:06 -04:00
Chris Wells
aaffc882f9 Create and leverage global error functions 2020-08-30 10:57:14 -04:00
Marius van Witzenburg
f28054b47e Cleanup whitespace 2020-04-14 11:53:11 +02:00
Jose
01eaccc1da Add double quotes to prevent globbing/word splitting, general code consistency improvements 2020-02-20 18:06:31 -04:00
Christer Edwards
8b9760b0a5 initial support for limits automation; updated copyright year 2020-01-26 09:51:02 -07:00
Christer Edwards
cd4f9ee22e updating Usage output and standardizing target variable 2019-11-22 22:06:50 -07:00
Christer Edwards
c9ebc886fd May 2019 update: HardenedBSD, tzdata, NS
- closes #32: support HardenedBSD
 - adds support for defined nameservers in new jails (up to three)
 - adds support for defined nameserver options (eg; options edns0 rotate)
 - adds support for defined tzdata in new jails (eg; America/Denver, etc/UTC)
 - adds support for dynamic hw.machine/hw.machine_arch downloads
 - new jails now output default rc.conf settings (sysrc) at creation
 - no longer use freebsd_dist_fetch.sh; replaced with simpler fetch
2019-05-22 21:50:29 -06:00
Christer Edwards
e2b4f84cfe update copyright; fixes #28 2019-02-04 21:08:00 -07:00
Christer Edwards
c98229066d 0.3.20181124 patch 2018-11-24 09:55:16 -07:00
Christer Edwards
7700b9beff 0.3.20181112 template support 2018-11-13 10:38:33 -07:00