mirror of
https://github.com/juanfont/headscale.git
synced 2025-07-29 11:33:50 +00:00
derp
This commit is contained in:
parent
8253d588c6
commit
04d2e553bf
@ -129,7 +129,7 @@ var createUserCmd = &cobra.Command{
|
|||||||
}
|
}
|
||||||
|
|
||||||
var destroyUserCmd = &cobra.Command{
|
var destroyUserCmd = &cobra.Command{
|
||||||
Use: "destroy --identifier ID or --name NAME",
|
Use: "destroy --user USER or --name NAME",
|
||||||
Short: "Destroys a user",
|
Short: "Destroys a user",
|
||||||
Aliases: []string{"delete"},
|
Aliases: []string{"delete"},
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
|
@ -49,7 +49,7 @@ ID | Hostname | Approved | Available | Serving (Primary)
|
|||||||
Approve all desired routes of a subnet router by specifying them as comma separated list:
|
Approve all desired routes of a subnet router by specifying them as comma separated list:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ headscale nodes approve-routes --identifier 1 --routes 10.0.0.0/8,192.168.0.0/24
|
$ headscale nodes approve-routes --node 1 --routes 10.0.0.0/8,192.168.0.0/24
|
||||||
Node updated
|
Node updated
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -175,7 +175,7 @@ ID | Hostname | Approved | Available | Serving (Primary)
|
|||||||
For exit nodes, it is sufficient to approve either the IPv4 or IPv6 route. The other will be approved automatically.
|
For exit nodes, it is sufficient to approve either the IPv4 or IPv6 route. The other will be approved automatically.
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ headscale nodes approve-routes --identifier 1 --routes 0.0.0.0/0
|
$ headscale nodes approve-routes --node 1 --routes 0.0.0.0/0
|
||||||
Node updated
|
Node updated
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user