Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ctf/new.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def new(
typer.Option(
"--with-build",
help="If a build container is required.",
prompt="Is a build container required?",
),
] = False,
) -> None:
Expand Down
4 changes: 2 additions & 2 deletions ctf/templates/init/.deploy/cleanup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[ ! -e /run/systemd/resolve/resolv.conf ] && exit 0
rm -f /etc/resolv.conf || true
cat /run/systemd/resolve/resolv.conf > /etc/resolv.conf
when: 'nsec_production | default(False)'
when: nsec_production | default(False) | bool
changed_when: true

- name: Mask most systemd units
Expand Down Expand Up @@ -123,7 +123,7 @@
systemd-udevd.service; do
ln -s /dev/null /etc/systemd/system/${i} || true
done
when: 'nsec_production | default(False)'
when: nsec_production | default(False) | bool
changed_when: true

- name: Remove all cron jobs
Expand Down
163 changes: 162 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dependencies = [
"typer==0.16.0",
"pydantic"
]
version = "3.1.1"
version = "3.2.0"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
Expand Down