gistfile1.txt
· 766 B · Text
原始檔案
This will:
1. Create /etc/wireguard/.wgctl/config/ and /etc/wireguard/.wgctl/data/
2. Convert wgctl.conf → wgctl.json
3. Move data files to data/
Would create: /etc/wireguard/.wgctl/config/
Would create: /etc/wireguard/.wgctl/data/
[dry-run] wgctl.conf → config/wgctl.json
[dry-run] hosts.json → data/hosts.json
[dry-run] services.json → data/services.json
[dry-run] subnets.json → data/subnets.json
[dry-run] policies.json → data/policies.json
[dry-run] rules/ → data/rules/
[dry-run] identities/ → data/identities/
[dry-run] groups/ → data/groups/
[dry-run] blocks/ → data/blocks/
[dry-run] meta/ → data/meta/
[dry-run] peer-history/ → data/peer-history/
=> WARN: ⚠️ 🔒 Dry run — no changes made
| 1 | This will: |
| 2 | 1. Create /etc/wireguard/.wgctl/config/ and /etc/wireguard/.wgctl/data/ |
| 3 | 2. Convert wgctl.conf → wgctl.json |
| 4 | 3. Move data files to data/ |
| 5 | |
| 6 | Would create: /etc/wireguard/.wgctl/config/ |
| 7 | Would create: /etc/wireguard/.wgctl/data/ |
| 8 | [dry-run] wgctl.conf → config/wgctl.json |
| 9 | [dry-run] hosts.json → data/hosts.json |
| 10 | [dry-run] services.json → data/services.json |
| 11 | [dry-run] subnets.json → data/subnets.json |
| 12 | [dry-run] policies.json → data/policies.json |
| 13 | [dry-run] rules/ → data/rules/ |
| 14 | [dry-run] identities/ → data/identities/ |
| 15 | [dry-run] groups/ → data/groups/ |
| 16 | [dry-run] blocks/ → data/blocks/ |
| 17 | [dry-run] meta/ → data/meta/ |
| 18 | [dry-run] peer-history/ → data/peer-history/ |
| 19 | |
| 20 | => WARN: ⚠️ 🔒 Dry run — no changes made |