tschettervictor
579d1c6df0
create: destroy -f if failed to create
2025-03-12 13:33:23 -06:00
tschettervictor
45678ef5bf
Merge branch 'master' into vnet-vlan
2025-03-03 14:40:59 -07:00
tschettervictor
6a4ab32ce5
Merge pull request #888 from BastilleBSD/create-custom-zfs-options
...
create: Allow setting zfs options on creating jail
2025-03-03 14:16:44 -07:00
tschettervictor
07095fc79e
create: ZFS opts not optional
2025-03-03 13:02:00 -07:00
tschettervictor
dc9e225d8e
create: Fix shellcheck
2025-03-03 12:38:13 -07:00
tschettervictor
6e7ea625b7
create: Spacing
2025-03-03 12:33:57 -07:00
tschettervictor
8395e8b000
create: More vlan imporvements
2025-03-03 12:28:23 -07:00
tschettervictor
4c68b748b6
create: Add --vlan option
2025-03-03 12:13:48 -07:00
Barry McCormick
c6297d7194
Merge pull request #887 from BastilleBSD/jail-import-iocage-ezjail
...
import: Import jails using new interface format (iocage,ezjail)
2025-03-03 08:26:25 -08:00
tschettervictor
71f0370cf4
create: Allow DHCP as option
2025-03-01 00:15:17 -07:00
tschettervictor
98eb36b209
create: Missed one var for config option
2025-02-28 17:45:53 -07:00
tschettervictor
22456b0d7c
create: Remove config option
2025-02-28 17:45:10 -07:00
tschettervictor
9e9cef90d4
create: Override shellcheck for sourcing variable
2025-02-28 17:22:46 -07:00
tschettervictor
320bcde2b2
create: Allow specifying a custom config file to override default
2025-02-28 17:15:10 -07:00
tschettervictor
223c538680
create: Fix spacing in help command
2025-02-28 13:05:13 -07:00
tschettervictor
3acd06a0f1
create: Allow setting zfs options on creating jail
...
#514
@s1dh
Run 'bastille create help' to see syntax
2025-02-28 12:59:48 -07:00
tschettervictor
295612da5f
create: Do not check running if empty jail
2025-02-28 11:49:29 -07:00
tschettervictor
4e6b531388
create: Fix shellcheck
2025-02-25 15:40:41 -07:00
tschettervictor
dbd13627a9
create: Send without -R for encrypted bastilleroot
2025-02-25 15:37:44 -07:00
tschettervictor
38020a4ef0
Merge branch 'BastilleBSD:master' into patch-2
2025-02-22 22:18:41 -07:00
tschettervictor
cb7c5daf97
create: VNET template only does VNET config, not base template
2025-02-14 09:11:38 -07:00
tschettervictor
318df00ea8
create: Fix VNeT template not applying when mixed with thick or thin jails
2025-02-13 11:59:32 -07:00
tschettervictor
7b6e7c4f8d
Merge branch 'master' into patch-2
2025-02-03 13:46:40 -07:00
tschettervictor
7958718140
create: Restore ruleset var
2025-01-28 17:38:52 -07:00
tschettervictor
462a019d43
create: Add ip_hostname/inherit options
2025-01-28 17:31:51 -07:00
Théo Bertin
c79ff1d5ce
CREATE.SH::ADDED:: New '--no-validate' parameter to use custom/manually bootstrapped releases
2025-01-27 10:13:49 +01:00
tschettervictor
94da0c4817
create: digits/numerals > digits
2025-01-24 08:06:39 -07:00
tschettervictor
8425524959
create: Clarify numbers > digits/numerals
2025-01-24 07:52:22 -07:00
tschettervictor
d4d747de05
create: Do not allow only numbers in name
2025-01-20 19:25:02 -07:00
tschettervictor
10822931bb
create: Static MAC optional
2025-01-13 13:19:26 -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
78d2ae9b2c
shellcheck: fix create intentional '@' and disable SC2140
2024-12-15 11:02:28 -05:00
Juan David Hurtado G
b6bf75a4ef
[WIP] shellcheck linting
2024-12-08 21:05:45 -05:00
Juan David Hurtado G
7dbe1e761b
rel: update copyright year and release version
2024-11-24 09:46:09 -05:00
Stefano Marinelli
6ca8ea578e
Adjust devfs_ruleset for hierarchical jails compatibility
...
Hierarchical jails inherit the parent jail's permissions and don't support setting devfs_ruleset to a non-zero value. This update adds a check to determine if the script is running inside a jail. If so, it sets devfs_ruleset to 0 to comply with this constraint.
2023-11-27 18:45:09 +01:00
Christer Edwards
622c926917
support lowercase values in bastille.conf (issue #368 )
2023-11-25 15:09:11 -07:00
Christer Edwards
97a0e692d9
standardize options in create matrix
2023-11-24 16:41:25 -07:00
Christer Edwards
3df39078bf
support combining options for bastille create
2023-11-24 16:28:31 -07:00
Christer Edwards
ace7bdce2f
add osrelease to jail.conf for new jails
2023-11-19 14:37:31 -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
Michal Procházka
cf928f1237
Fix generated interface name in rc.conf for vnet jail
2023-10-30 20:39:58 +01: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
8d16399e50
Added NAME_VERIFY=Ubuntu_2204 section
2023-07-10 12:13:22 +02:00
gqgunhed
bea80db898
Exchanged entry for Debian9 with Debian12
2023-07-10 12:08:47 +02:00
gqgunhed
a89f42242c
Added ubuntu-jammy and bookworm releases
...
removed "stretch" release
2023-07-10 12:04:40 +02:00
JRGTH
2e583cf9ab
Add missing spaces for consistency
...
Add missing spaces for jail.conf content consistency.
2023-05-02 09:55:35 -04:00
Lars Engels
64c3b6045e
Allow running bastille and subcomands with help flags as regular user
2023-03-16 20:58:11 +01:00
William Erik Baxter
ec18847f3e
Fix bug in ip-in-use test
...
Need grep -wF instead of grep -w for IP test to avoid spurious match
against broadcast address in ifconfig output.
2022-12-04 05:47:15 -06:00
Christer Edwards
778ef6e581
fixing regression in create.sh for Linux containers
2022-11-02 21:17:05 -06:00