Commit d212d315 authored by Gabriel Monnerat's avatar Gabriel Monnerat

Merge remote branch 'origin/master' into slave_instance

parents e165743c a3361773
...@@ -91,31 +91,14 @@ ...@@ -91,31 +91,14 @@
<div class="field forgotten_password">\n <div class="field forgotten_password">\n
<label>&nbsp;</label>\n <label>&nbsp;</label>\n
<div class="field nolabel validate widthAuto" title="">\n <div class="field nolabel validate widthAuto" title="">\n
\n <label>Join</label>\n
<label>\n <a href="ERP5Site_viewCredentialRequestForm">Join</a>\n
Join\n </div>\n
\n <div class="field nolabel cancel widthAuto" title="">\n
\n <label>Lost password?</label>\n
</label>\n <a href="ERP5Site_viewCredentialRecoveryLoginDialog">Lost password?</a>\n
<div class="input"><input class="nolabel validate widthAuto" src="" name="ERP5Site_viewCredentialRequestForm:method" value="Join" type="submit" /></div>\n
\n
\n
\n
</div>\n
</div>\n
<div class="field nolabel cancel widthAuto" title="">\n
\n
\n
<label>\n
Lost password?\n
\n
\n
</label>\n
<div class="input"><input class="nolabel cancel widthAuto" src="" name="ERP5Site_viewCredentialRecoveryLoginDialog:method" value="Lost password?" type="submit" /></div>\n
\n
\n
\n
</div>\n </div>\n
</div>\n
</fieldset>\n </fieldset>\n
<script type="text/javascript">setFocus()</script>\n <script type="text/javascript">setFocus()</script>\n
<p i18n:translate="" i18n:domain="ui">Having trouble logging in? Make sure to enable cookies in your web browser.</p>\n <p i18n:translate="" i18n:domain="ui">Having trouble logging in? Make sure to enable cookies in your web browser.</p>\n
......
297 298
\ No newline at end of file \ No newline at end of file
...@@ -209,7 +209,11 @@ class Computer: ...@@ -209,7 +209,11 @@ class Computer:
if address_dict['addr'] not in computer_partition_address_list: if address_dict['addr'] not in computer_partition_address_list:
return address_dict return address_dict
return None # all addresses on interface are for partition, so lets add new one
computer_tap = Tap('compdummy')
computer_tap.createWithOwner('root', attach_to_tap=True)
self.bridge.addTap(computer_tap)
return self.bridge.addAddr()
def send(self, config): def send(self, config):
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment