Set Hostname on "Save settings"
Set the Hostname field when the user selects "Save settings"
and accepts the popup. Before Hostname was readonly.
Tested: Set the Hostname on a Witherspoon
Change-Id: I9de840ee9d52ec4a9ae1fd69d4ea27f62b0baf17
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/app/configuration/controllers/network-controller.html b/app/configuration/controllers/network-controller.html
index 968f8a2..e9b819c 100644
--- a/app/configuration/controllers/network-controller.html
+++ b/app/configuration/controllers/network-controller.html
@@ -10,7 +10,7 @@
<fieldset>
<div class="column small-12 large-3">
<label for="net-config__mac">Hostname</label>
- <input id="net-config__mac" type="text" readonly value="{{hostname}}"/>
+ <input id="net-config__mac" type="text" ng-model="hostname"/>
</div>
<div class="column small-12 large-3">
<label for="netinterface-select">Network interface</label>