Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Software
idms-linux-installer
Commits
edbed96b
Commit
edbed96b
authored
Jun 30, 2020
by
Nigel Kukard
Browse files
Use full paths when running commands
parent
06dc8e16
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/idmslinux_installer/util/blockdevices.py
View file @
edbed96b
...
...
@@ -72,8 +72,8 @@ class BlockDevices:
"""Load block devices from lsblk."""
# Open subprocess to lsblk
lsblk_output
=
subprocess
.
check_output
([
'lsblk'
,
lsblk_output
=
subprocess
.
check_output
([
# nosec
'
/usr/bin/
lsblk'
,
'--list'
,
'--noheadings'
,
'--output'
,
'PATH,TYPE,SIZE'
,
'--sort'
,
'NAME'
,
...
...
src/idmslinux_installer/util/sfdisk.py
View file @
edbed96b
...
...
@@ -47,8 +47,8 @@ class Sfdisk:
"""Load the various partition types supported by sfdisk."""
# Open subprocess to sfdisk
sfdisk_output
=
subprocess
.
check_output
([
'sfdisk'
,
sfdisk_output
=
subprocess
.
check_output
([
# nosec
'
/usr/bin/
sfdisk'
,
'--label'
,
'gpt'
,
'--list-types'
,
])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment