Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

Commit

Permalink
Support vda disk type
Browse files Browse the repository at this point in the history
  • Loading branch information
neoclust committed Feb 17, 2023
1 parent 8e03f42 commit 42f0e0a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ def start(self):
self.device = 'sda'
elif os.path.exists('/dev/hda'):
self.device = 'hda'
elif os.path.exists('/dev/vda'):
self.device = 'vda'

# Start the image saver
error_code = subprocess.call('yes 2>/dev/null|/usr/sbin/ocs-sr %s savedisk %s %s 2>&1 1>/dev/null | tee /var/log/davos_saver.log' % (self.manager.clonezilla_params['clonezilla_saver_params'], self.image_uuid, self.device), shell=True)
Expand Down

0 comments on commit 42f0e0a

Please sign in to comment.