mirror of https://git.48k.eu/ogclient
postinstall: ignore output when invoking legacy scripts
output is never consumed.master
parent
9be639ae78
commit
89d711be2a
|
@ -99,7 +99,8 @@ def configure_os_custom(disk, partition):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
proc = subprocess.run(cmd_configure,
|
proc = subprocess.run(cmd_configure,
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.DEVNULL,
|
||||||
|
stderr=subprocess.DEVNULL,
|
||||||
encoding='utf-8',
|
encoding='utf-8',
|
||||||
shell=True,
|
shell=True,
|
||||||
check=True)
|
check=True)
|
||||||
|
@ -113,7 +114,8 @@ def windows_register_c_drive(disk, partition):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
proc = subprocess.run(cmd_configure,
|
proc = subprocess.run(cmd_configure,
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.DEVNULL,
|
||||||
|
stderr=subprocess.DEVNULL,
|
||||||
encoding='utf-8',
|
encoding='utf-8',
|
||||||
shell=True,
|
shell=True,
|
||||||
check=True)
|
check=True)
|
||||||
|
@ -126,7 +128,8 @@ def configure_mbr_boot_sector(disk, partition):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
proc = subprocess.run(cmd_configure,
|
proc = subprocess.run(cmd_configure,
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.DEVNULL,
|
||||||
|
stderr=subprocess.DEVNULL,
|
||||||
encoding='utf-8',
|
encoding='utf-8',
|
||||||
shell=True,
|
shell=True,
|
||||||
check=True)
|
check=True)
|
||||||
|
@ -139,7 +142,8 @@ def configure_grub_in_mbr(disk, partition):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
proc = subprocess.run(cmd_configure,
|
proc = subprocess.run(cmd_configure,
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.DEVNULL,
|
||||||
|
stderr=subprocess.DEVNULL,
|
||||||
encoding='utf-8',
|
encoding='utf-8',
|
||||||
shell=True,
|
shell=True,
|
||||||
check=True)
|
check=True)
|
||||||
|
@ -152,7 +156,8 @@ def configure_fstab(disk, partition):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
proc = subprocess.run(cmd_configure,
|
proc = subprocess.run(cmd_configure,
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.DEVNULL,
|
||||||
|
stderr=subprocess.DEVNULL,
|
||||||
encoding='utf-8',
|
encoding='utf-8',
|
||||||
shell=True,
|
shell=True,
|
||||||
check=True)
|
check=True)
|
||||||
|
@ -165,7 +170,8 @@ def install_grub(disk, partition):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
proc = subprocess.run(cmd_configure,
|
proc = subprocess.run(cmd_configure,
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.DEVNULL,
|
||||||
|
stderr=subprocess.DEVNULL,
|
||||||
encoding='utf-8',
|
encoding='utf-8',
|
||||||
shell=True,
|
shell=True,
|
||||||
check=True)
|
check=True)
|
||||||
|
|
Loading…
Reference in New Issue