diff --git a/lib/bootstrap.py b/lib/bootstrap.py
index c936606bb4d6371698e0d3b3d54c7c60e88ba1f5..4fce0d31a3221f14e8cc200b3909f1b59f5ad130 100644
--- a/lib/bootstrap.py
+++ b/lib/bootstrap.py
@@ -261,7 +261,7 @@ def InitCluster(cluster_name, mac_prefix, def_bridge,
     beparams={constants.BEGR_DEFAULT: beparams},
     hvparams=hvparams,
     candidate_pool_size=candidate_pool_size,
-    modify_etc_hosts=opts.modify_etc_hosts,
+    modify_etc_hosts=modify_etc_hosts,
     )
   master_node_config = objects.Node(name=hostname.name,
                                     primary_ip=hostname.ip,