diff options
author | Bob Gilligan <gilligan@vyatta.com> | 2011-07-14 09:53:15 -0700 |
---|---|---|
committer | Bob Gilligan <gilligan@vyatta.com> | 2011-07-14 09:53:15 -0700 |
commit | 6c256180e6b4ae768e9cf9e763c0bd01b1105a49 (patch) | |
tree | 8eca078ff49a5cebd380e3979e58b1a657bfc8b3 /templates/add | |
parent | f457a5056fcf562bfdbf86d06a4ebfc9d0b3414f (diff) | |
download | vyatta-op-6c256180e6b4ae768e9cf9e763c0bd01b1105a49.tar.gz vyatta-op-6c256180e6b4ae768e9cf9e763c0bd01b1105a49.zip |
Bugfix 5856: Allow credentials on "add system image" command line
In order to improve the usability, we now allow the user to specify
the username and password to use in fetching the ISO.
Diffstat (limited to 'templates/add')
4 files changed, 6 insertions, 0 deletions
diff --git a/templates/add/system/image/node.tag/username/node.def b/templates/add/system/image/node.tag/username/node.def new file mode 100644 index 0000000..252df9e --- /dev/null +++ b/templates/add/system/image/node.tag/username/node.def @@ -0,0 +1 @@ +help: Username for authentication diff --git a/templates/add/system/image/node.tag/username/node.tag/node.def b/templates/add/system/image/node.tag/username/node.tag/node.def new file mode 100644 index 0000000..bdb8b20 --- /dev/null +++ b/templates/add/system/image/node.tag/username/node.tag/node.def @@ -0,0 +1 @@ +help: Username to use with authentication diff --git a/templates/add/system/image/node.tag/username/node.tag/password/node.def b/templates/add/system/image/node.tag/username/node.tag/password/node.def new file mode 100644 index 0000000..5a04341 --- /dev/null +++ b/templates/add/system/image/node.tag/username/node.tag/password/node.def @@ -0,0 +1 @@ +help: Password to use with authentication diff --git a/templates/add/system/image/node.tag/username/node.tag/password/node.tag/node.def b/templates/add/system/image/node.tag/username/node.tag/password/node.tag/node.def new file mode 100644 index 0000000..8a50a9f --- /dev/null +++ b/templates/add/system/image/node.tag/username/node.tag/password/node.tag/node.def @@ -0,0 +1,3 @@ +help: Password to use with authentication + +run: sudo /opt/vyatta/sbin/install-image "$4" "$6" "$8" |