|
465.
|
|
|
![](/@@/translation-newline)
The remodel command changes the model assertion of the device, either to a new ![](/@@/translation-newline)
revision or a full new model.
![](/@@/translation-newline)
In the process it applies any implied changes to the device: new required ![](/@@/translation-newline)
snaps, new kernel or gadget etc.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_remodel.go:33
|
|
466.
|
|
|
![](/@@/translation-newline)
The remove command removes the named snap instance from the system.
![](/@@/translation-newline)
By default all the snap revisions are removed, including their data and the ![](/@@/translation-newline)
common data directory. When a --revision option is passed only the specified ![](/@@/translation-newline)
revision is removed.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
467.
|
|
|
![](/@@/translation-newline)
The repair command shows the details about one or multiple repairs.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_repair_repairs.go:58
|
|
468.
|
|
|
![](/@@/translation-newline)
The repairs command lists all processed repairs for this device.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_repair_repairs.go:82
|
|
469.
|
|
|
![](/@@/translation-newline)
The restart command restarts the given services of the snap. If executed from the ![](/@@/translation-newline)
"configure" hook, the services will be restarted after the hook finishes.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
overlord/hookstate/ctlcmd/restart.go:30
|
|
470.
|
|
|
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_services.go:71
|
|
471.
|
|
|
![](/@@/translation-newline)
The restore command replaces the current user, system and ![](/@@/translation-newline)
configuration data of included snaps, with the corresponding data from ![](/@@/translation-newline)
the specified snapshot.
![](/@@/translation-newline)
By default, this command restores all the data in a snapshot. ![](/@@/translation-newline)
Alternatively, you can specify the data of which snaps to restore, or ![](/@@/translation-newline)
for which users, or a combination of these.
![](/@@/translation-newline)
If a snap is included in a restore operation, excluding its system and ![](/@@/translation-newline)
configuration data from the restore is not currently possible. This ![](/@@/translation-newline)
restriction may be lifted in the future.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_snapshot.go:91
|
|
472.
|
|
|
![](/@@/translation-newline)
The revert command reverts the given snap to its state before ![](/@@/translation-newline)
the latest refresh. This will reactivate the previous snap revision, ![](/@@/translation-newline)
and will use the original data that was associated with that revision, ![](/@@/translation-newline)
discarding any data changes that were done by the latest revision. As ![](/@@/translation-newline)
an exception, data which the snap explicitly chooses to share across ![](/@@/translation-newline)
revisions is not touched by the revert process.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_snap_op.go:1150
|
|
473.
|
|
|
![](/@@/translation-newline)
The run command executes the given snap command with the right confinement ![](/@@/translation-newline)
and environment.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_run.go:97
|
|
474.
|
|
|
![](/@@/translation-newline)
The sandbox command prints tags describing features of individual sandbox ![](/@@/translation-newline)
components used by snapd on a given system.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_sandbox_features.go:33
|