]:
if os.path.exists(path):
selinux_status = runner.outs([path])
- if arch and arch.startswith("arm") and selinux_status == "Enforcing":
- raise errors.ConfigError("Can't create arm image if selinux is enabled, please disbale it and try again")
+ if arch and arch.startswith("arm") and selinux_status == "Enforcing":
+ raise errors.ConfigError("Can't create arm image if selinux is enabled, please disable it and try again")
use_btrfs = False
parts = ks.handler.partition.partitions
break
if use_btrfs and selinux_status == "Enforcing":
- raise errors.ConfigError("Can't create image useing btrfs filesystem if selinux is enabled, please disbale it and try again")
+ raise errors.ConfigError("Can't create image useing btrfs filesystem if selinux is enabled, please disable it and try again")
break