remove all generated doc files before generating it again
in order to remove files that should be
This commit is contained in:
parent
425ad1c67e
commit
6fcf581e3e
2
Makefile
2
Makefile
|
@ -91,6 +91,8 @@ fmt-examples:
|
|||
# generate runs `go generate` to build the dynamically generated
|
||||
# source files.
|
||||
generate: install-gen-deps ## Generate dynamically generated code
|
||||
@echo "==> removing autogenerated markdown..."
|
||||
@find website/source/ -type f | xargs grep -l '^<!-- Code generated' | xargs rm
|
||||
go generate ./...
|
||||
go fmt common/bootcommand/boot_command.go
|
||||
goimports -w common/bootcommand/boot_command.go
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
<!-- Code generated from the comments of the ShutdownConfig struct in builder/hyperv/common/shutdown_config.go; DO NOT EDIT MANUALLY -->
|
||||
|
||||
- `shutdown_command` (string) - The command to use to gracefully shut down
|
||||
the machine once all provisioning is complete. By default this is an
|
||||
empty string, which tells Packer to just forcefully shut down the
|
||||
machine. This setting can be safely omitted if for example, a shutdown
|
||||
command to gracefully halt the machine is configured inside a
|
||||
provisioning script. If one or more scripts require a reboot it is
|
||||
suggested to leave this blank (since reboots may fail) and instead
|
||||
specify the final shutdown command in your last script.
|
||||
|
||||
- `shutdown_timeout` (string) - The amount of time to wait after executing
|
||||
the shutdown_command for the virtual machine to actually shut down.
|
||||
If the machine doesn't shut down in this time it is considered an
|
||||
error. By default, the time out is "5m" (five minutes).
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
<!-- Code generated from the comments of the ShutdownConfig struct in builder/parallels/common/shutdown_config.go; DO NOT EDIT MANUALLY -->
|
||||
|
||||
- `shutdown_command` (string) - The command to use to gracefully shut down the
|
||||
machine once all the provisioning is done. By default this is an empty
|
||||
string, which tells Packer to just forcefully shut down the machine.
|
||||
|
||||
- `shutdown_timeout` (string) - The amount of time to wait after executing the
|
||||
shutdown_command for the virtual machine to actually shut down. If it
|
||||
doesn't shut down in this time, it is an error. By default, the timeout is
|
||||
"5m", or five minutes.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
<!-- Code generated from the comments of the ShutdownConfig struct in builder/parallels/common/shutdown_config.go; DO NOT EDIT MANUALLY -->
|
||||
ShutdownConfig contains the configuration for VM shutdown.
|
|
@ -1,11 +0,0 @@
|
|||
<!-- Code generated from the comments of the ShutdownConfig struct in builder/vmware/common/shutdown_config.go; DO NOT EDIT MANUALLY -->
|
||||
|
||||
- `shutdown_command` (string) - The command to use to gracefully shut down the
|
||||
machine once all the provisioning is done. By default this is an empty
|
||||
string, which tells Packer to just forcefully shut down the machine.
|
||||
|
||||
- `shutdown_timeout` (string) - The amount of time to wait after executing the
|
||||
shutdown_command for the virtual machine to actually shut down. If it
|
||||
doesn't shut down in this time, it is an error. By default, the timeout is
|
||||
5m or five minutes.
|
||||
|
|
@ -1,16 +1,16 @@
|
|||
<!-- Code generated from the comments of the ShutdownConfig struct in common/shutdowncommand/config.go; DO NOT EDIT MANUALLY -->
|
||||
|
||||
- `shutdown_command` (string) - The command to use to gracefully shut down
|
||||
the machine once all provisioning is complete. By default this is an
|
||||
empty string, which tells Packer to just forcefully shut down the
|
||||
machine. This setting can be safely omitted if for example, a shutdown
|
||||
command to gracefully halt the machine is configured inside a
|
||||
provisioning script. If one or more scripts require a reboot it is
|
||||
suggested to leave this blank (since reboots may fail) and instead
|
||||
specify the final shutdown command in your last script.
|
||||
- `shutdown_command` (string) - The command to use to gracefully shut down the machine once all
|
||||
provisioning is complete. By default this is an empty string, which
|
||||
tells Packer to just forcefully shut down the machine. This setting can
|
||||
be safely omitted if for example, a shutdown command to gracefully halt
|
||||
the machine is configured inside a provisioning script. If one or more
|
||||
scripts require a reboot it is suggested to leave this blank (since
|
||||
reboots may fail) and instead specify the final shutdown command in your
|
||||
last script.
|
||||
|
||||
- `shutdown_timeout` (string) - The amount of time to wait after executing
|
||||
the shutdown_command for the virtual machine to actually shut down.
|
||||
If the machine doesn't shut down in this time it is considered an
|
||||
error. By default, the time out is "5m" (five minutes).
|
||||
- `shutdown_timeout` (string) - The amount of time to wait after executing the shutdown_command for the
|
||||
virtual machine to actually shut down. If the machine doesn't shut down
|
||||
in this time it is considered an error. By default, the time out is "5m"
|
||||
(five minutes).
|
||||
|
Loading…
Reference in New Issue