Skip to content

Commit

Permalink
Added admin interface plumbing - #29
Browse files Browse the repository at this point in the history
Added better console cleaning - #56
  • Loading branch information
dn0 committed Jul 7, 2017
1 parent 0495576 commit e13f411
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions ansible/templates/usb/scripts/computenode.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ function errexit() {

function cr_once() {
if [[ -z "${did_cr_once}" ]]; then
printf '\033c' >&${CONSOLE_FD}
# This is to move us to the beginning of the line with the login: prompt
printf "\r" >&${CONSOLE_FD}
did_cr_once=1
Expand Down
1 change: 1 addition & 0 deletions ansible/templates/usb/scripts/headnode.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ function errexit() {

function cr_once() {
if [[ -z "${did_cr_once}" ]]; then
printf '\033c' >&${CONSOLE_FD}
# This is to move us to the beginning of the line with the login: prompt
printf "\r" >&${CONSOLE_FD}
did_cr_once=1
Expand Down
5 changes: 2 additions & 3 deletions ansible/templates/usb/scripts/prompt-config.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,7 @@ nicsup()
dladm create-vnic -l ${admin_iface} -v ${admin_vlan_id} ${admin_iface_active}
ifconfig ${admin_iface_active} plumb
else
ifconfig ${admin_iface} plumb 2> /dev/null
admin_iface_active="${admin_iface}"
fi

Expand Down Expand Up @@ -1751,9 +1752,7 @@ web management.\n\n"
message="
Please choose a password that will protect your Danube Cloud data center
configuration settings. This password will be required whenever you
install an additional compute node into your data center.
PLEASE KEEP THIS PASSWORD SAFE AND CONFIDENTIAL!\n\n"
install an additional compute node into your data center.\n\n"
{% else %}
message="
Please enter the Configuration master password that was used during
Expand Down

0 comments on commit e13f411

Please sign in to comment.