mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #29754 from rallytime/bp-29719
Back-port #29719 to 2015.8
This commit is contained in:
commit
5af64b64f2
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ def _freebsd_disks():
|
|||
devices = __salt__['cmd.run']('{0} -n kern.disks'.format(sysctl))
|
||||
SSD_TOKEN = 'non-rotating'
|
||||
|
||||
for device in devices.split(' ')[1:]:
|
||||
for device in devices.split(' '):
|
||||
if device.startswith('cd'):
|
||||
log.debug('Disk grain skipping cd')
|
||||
elif _freebsd_vbox():
|
||||
|
|
Loading…
Add table
Reference in a new issue