feat(profile): general update.
This commit is contained in:
parent
9e7c4c7ec8
commit
ab7f45bc31
26 changed files with 53 additions and 111 deletions
|
|
@ -10,15 +10,9 @@ include <tunables/global>
|
|||
@{exec_path} = @{bin}/sfdisk
|
||||
profile sfdisk @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/disks-write>
|
||||
|
||||
# Needed to avoid the following error:
|
||||
# ioctl(3, BLKRRPART) = -1 EACCES (Permission denied)
|
||||
#
|
||||
# Checking that no-one is using this disk right now ... FAILED
|
||||
# This disk is currently in use - repartitioning is probably a bad idea.
|
||||
# Umount all file systems, and swapoff all swap partitions on this disk.
|
||||
# Use the --no-reread flag to suppress this check.
|
||||
capability sys_admin,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue