Skip to content

Commit

Permalink
lxc/network_zone: Add example for network zone record create
Browse files Browse the repository at this point in the history
Signed-off-by: Vishesh Agrawal <[email protected]>
(cherry picked from commit 58dc074fbad8d7049f4a52c7c3c0685fd72f856f)
Signed-off-by: Gabriel Mougard <[email protected]>
License: Apache-2.0
  • Loading branch information
awalvie authored and gabrielmougard committed Sep 2, 2024
1 parent 19b98b9 commit 6775979
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lxc/network_zone.go
Original file line number Diff line number Diff line change
Expand Up @@ -873,6 +873,10 @@ func (c *cmdNetworkZoneRecordCreate) command() *cobra.Command {
cmd.Use = usage("create", i18n.G("[<remote>:]<zone> <record> [key=value...]"))
cmd.Short = i18n.G("Create new network zone record")
cmd.Long = cli.FormatSection(i18n.G("Description"), i18n.G("Create new network zone record"))
cmd.Example = cli.FormatSection("", i18n.G(`lxc network zone record create z1 r1
lxc network zone record create z1 r1 < config.yaml
Create record r1 for zone z1 with configuration from config.yaml`))

cmd.RunE = c.run

Expand Down

0 comments on commit 6775979

Please sign in to comment.