diff options
| author | Jason Koelker <jason@koelker.net> | 2011-07-21 15:26:48 -0500 |
|---|---|---|
| committer | Jason Koelker <jason@koelker.net> | 2011-07-21 15:26:48 -0500 |
| commit | 419b928ea2eb71fdcda66b4c83717120309ff36a (patch) | |
| tree | 5fa2414d313ad490e92e423222ea50b0081e4370 | |
| parent | d04b90ef23bd2e02e762ed22bce8729a2c619cf6 (diff) | |
| download | nova-419b928ea2eb71fdcda66b4c83717120309ff36a.tar.gz nova-419b928ea2eb71fdcda66b4c83717120309ff36a.tar.xz nova-419b928ea2eb71fdcda66b4c83717120309ff36a.zip | |
only use the flag if it evaluates true
| -rwxr-xr-x | bin/nova-manage | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/nova-manage b/bin/nova-manage index 11d254597..c5ea30fcd 100755 --- a/bin/nova-manage +++ b/bin/nova-manage @@ -607,7 +607,7 @@ class NetworkCommands(object): bridge_interface = FLAGS.flat_interface or FLAGS.vlan_interface if not gateway_v6: gateway_v6 = FLAGS.gateway_v6 - if not dns: + if not dns and FLAGS.flat_network_dns: dns = FLAGS.flat_network_dns net_manager = utils.import_object(FLAGS.network_manager) |
