|
66.
|
|
|
![](/@@/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
|
|
67.
|
|
|
![](/@@/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.
![](/@@/translation-newline)
Unless automatic snapshots are disabled, a snapshot of all data for the snap is ![](/@@/translation-newline)
saved upon removal, which is then available for future restoration with snap ![](/@@/translation-newline)
restore. The --purge option disables automatically creating snapshots.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_snap_op.go:69
|
|
68.
|
|
|
![](/@@/translation-newline)
The remove-quota command removes the given quota group.
![](/@@/translation-newline)
Currently, only quota groups with no sub-groups can be removed. In order to ![](/@@/translation-newline)
remove a quota group with sub-groups, the sub-groups must first be removed until ![](/@@/translation-newline)
there are no sub-groups for the group, then the group itself can be removed.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_quota.go:51
|
|
69.
|
|
|
![](/@@/translation-newline)
The remove-user command removes a local system user.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_remove_user.go:32
|
|
70.
|
|
|
![](/@@/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
|
|
71.
|
|
|
![](/@@/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
|
|
72.
|
|
|
![](/@@/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
|
|
73.
|
|
|
|
|
|
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
|
|
74.
|
|
|
![](/@@/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
|
|
75.
|
|
|
![](/@@/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
|