Skip to content

Commit

Permalink
Baremetal deploy helper sets ODIRECT.
Browse files Browse the repository at this point in the history
Baremetal deploy helper should set oflag=direct when dd'ing images onto
iSCSI targets, so that it doesn't waste the local page cache.

Fixes bug 1114633.

Change-Id: Ia674afb34aff7b842cfcd520ecb7b75dc21944fa
  • Loading branch information
AevaOnline committed Mar 4, 2013
1 parent a246cb9 commit de4b35a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/nova-baremetal-deploy-helper
Expand Up @@ -121,6 +121,7 @@ def dd(src, dst):
'if=%s' % src,
'of=%s' % dst,
'bs=1M',
'oflag=direct',
run_as_root=True,
check_exit_code=[0])

Expand Down

0 comments on commit de4b35a

Please sign in to comment.