Commit Graph

1798 Commits

Author SHA1 Message Date
tschettervictor
ca24953e6c zfs: Remove -v from create 2025-07-16 16:36:45 -06:00
tschettervictor
0760d7d51e Fix shellcheck 2025-07-16 16:28:10 -06:00
tschettervictor
4649cf7a9c Fix bastille version 2025-07-16 16:27:28 -06:00
tschettervictor
f08f4dd2e6 zfs: fix some bugs when rolling back, add default name 2025-07-16 16:14:15 -06:00
tschettervictor
2629cae350 zfs: code simplify and docs 2025-07-16 12:41:15 -06:00
tschettervictor
f5332cbf1a Merge pull request #1164 from JRGTH/bastille_zfs_enhancement
[Enhancement]  'Bastille zfs command'
2025-07-16 11:15:10 -06:00
JRGTH
b5e16816db Update bastille bin version 2025-07-16 00:07:41 -04:00
JRGTH
678886f619 Remove sort option to fix recent conflicts
Remove the sort option to fix the recent conflicts.
2025-07-16 00:05:14 -04:00
tschettervictor
9249baa7de parallel: Remove pkg, destroy, migrate 2025-07-12 21:25:34 -06:00
tschettervictor
6f7a2fbcdb parallel mode: Remove cmd and service 2025-07-12 16:44:57 -06:00
tschettervictor
7d3f77e4c4 create: Don’t allow -|_ in VNET jail names 2025-07-12 11:55:48 -06:00
tschettervictor
b59fe06895 network: Fix adding VNET interface 2025-07-12 11:19:54 -06:00
Juan David Hurtado G
8f9035f1f0 bastille: bump version to 1.0.1.250714 and update references in docs and script 2025-07-10 15:29:00 -05:00
tschettervictor
0f4d8e0110 list: Revert -s option
Reverting as this causes nothing but trouble when multiple IPs are present for any jail
2025-07-10 07:50:56 -06:00
Koichiro Iwao
9753cbaf5a list: exclude tunnel endpoint (src/dst) addresses
from IP address listing of jails with gif/gre interfaces

Reported at:	#1175

For example:

gif0: flags=1008051<UP,POINTOPOINT,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 1460
        options=80000<LINKSTATE>
        tunnel inet6 2001:db8::cafe:cafe --> 3fff::feed:feed
        inet 192.168.1.1 --> 10.10.10.10 netmask 0xffffffff
        groups: gif
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

gif1: flags=1008011<UP,POINTOPOINT,MULTICAST,LOWER_UP> metric 0 mtu 1280
        options=80000<LINKSTATE>
        tunnel inet 192.0.2.10 --> 198.51.100.20
        inet 10.0.0.1 --> 10.0.0.2 netmask 0xffffffff
        groups: gif
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
2025-07-10 15:05:09 +09:00
JRGTH
5580c9d0d3 Solver more conflicts due later updates
Updated this PR and added the later changes to solve some conflicts to the `bastille` bin cmd, this is now ready for review.

Between I would double quote the bastille version to:
```
BASTILLE_VERSION="1.0.20250714"
```
But I leave that as that just in case.
2025-07-09 00:25:36 -04:00
Juan David Hurtado G
f68cc0f81a bastille: version 1.0 - Bastille Day 2025 2025-07-08 23:15:08 -05:00
JRGTH
b32d32f64e Solve one more conflict for list cmd
This will solve one more conflict for list command, we will later add the `[snapshot(s)]` to the usage banner.
2025-07-08 19:43:33 -04:00
JRGTH
c52e559533 Solve later PR conflict for list cmd
This PR will solve the later PR conflict for the list cmd.
2025-07-08 19:25:06 -04:00
tschettervictor
7c732686e8 list: reorder sort options 2025-07-06 17:18:04 -06:00
tschettervictor
569b645e2d list: Cleanup for list with -s 2025-07-06 17:08:20 -06:00
tschettervictor
3dec44ae57 Update list.sh 2025-07-06 15:06:42 -06:00
tschettervictor
d69b86e542 list: Allow listing jail type separately 2025-07-06 15:05:53 -06:00
tschettervictor
bb92dc3298 list: Allow listing by additional args 2025-07-04 19:52:44 -06:00
JRGTH
9561f83edf Make shellcheck happy.
Just make shellcheck happy and code maintenance.
2025-07-03 00:10:24 -04:00
JRGTH
9503df28fb Add snapshot batch rollback and simplify code
Add snapshot batch rollback ability and simplify/maintenance code.
2025-07-02 23:59:41 -04:00
tschettervictor
c18ef73f68 list: List jails according to priority 2025-07-02 12:37:56 -06:00
JRGTH
72e9bae7f2 Add some checks wen handling batch snapshots
Add some checks and delay only wen handling batch  snapshots with generated names.
2025-06-27 11:35:28 -04:00
JRGTH
3d5c76c146 Remove early warning, seems redundant with zfs
Remove early warning, seems redundant with zfs error handling output.
2025-06-27 05:04:02 -04:00
JRGTH
e953aea373 Add one sec for creating snaps in batch mode 2025-06-27 04:54:57 -04:00
JRGTH
d6a9848354 Remove dryrun, user can see snap data with list
Remove dryrun as user can see snap usage data with `list` cmd instead.
2025-06-27 03:54:52 -04:00
JRGTH
837c77ee73 [Enhancement] 'Bastille zfs command'
[Enhancement]  'Bastille zfs command'

Here is the proposed `zfs` comand enhancement proposed here: https://github.com/BastilleBSD/bastille/pull/1163
2025-06-27 03:07:49 -04:00
tschettervictor
6cc600394a etcupdate: Better handling of src verify 2025-06-23 22:03:06 -06:00
tschettervictor
a9901fbc03 pkg: Quote $@ 2025-06-22 12:15:27 -06:00
tschettervictor
2b4599af2f add exit code export to pkg,service,sysrc 2025-06-22 12:12:02 -06:00
tschettervictor
7cbcdabb91 pkg: Add exit code check and return 2025-06-22 12:06:04 -06:00
tschettervictor
d5d4fdd589 sysrc: Add exit code check and return 2025-06-22 11:35:09 -06:00
tschettervictor
3f32fd1864 service: Add exit code check and return 2025-06-22 11:34:33 -06:00
tschettervictor
0fb4aac12a cmd: Rename print > return 2025-06-22 11:25:56 -06:00
tschettervictor
d49e6f74fb common: Rename print > return 2025-06-22 11:25:23 -06:00
tschettervictor
6b205dcac7 common: Add exit code functions 2025-06-22 11:12:09 -06:00
tschettervictor
77b6f09e22 cmd: Initiate exit code collect 2025-06-22 11:11:22 -06:00
tschettervictor
0ede2a51e6 Merge pull request #1152 from BastilleBSD/rdr-table-source 2025-06-20 13:57:31 -06:00
tschettervictor
fe12a24525 rdr: Load tables on both stacks by default 2025-06-20 12:54:50 -06:00
tschettervictor
d3c192e347 rdr: suppress table output 2025-06-20 12:37:40 -06:00
tschettervictor
a90e29244d rdr: Fix () 2025-06-20 12:23:45 -06:00
JRGTH
8b278ede4e Fix export cmd with predefined/default options 2025-06-20 00:06:37 -04:00
tschettervictor
78b4c6c861 list: add missing “releases” 2025-06-18 21:00:42 -06:00
tschettervictor
f65ae95212 rdr: Fix exit on invalid table 2025-06-18 19:12:31 -06:00
tschettervictor
00640f2678 rdr: Fix help message 2025-06-18 19:01:16 -06:00