diff options
author | Richard Nelson <unixabg@gmail.com> | 2010-06-23 10:28:03 -0500 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:17:12 +0100 |
commit | 2b3701b87c9eccfd8e5ebeea86aaa80f67239af7 (patch) | |
tree | e014be402a915d85d4c342cb9c9bd525a1317952 | |
parent | 622014755deb572831d1ebd07eadae827c01b056 (diff) | |
download | live-build-2b3701b87c9eccfd8e5ebeea86aaa80f67239af7.zip live-build-2b3701b87c9eccfd8e5ebeea86aaa80f67239af7.tar.gz |
Removed username from forms and cgi and can be configured with live-config.username= on bootappend.
-rwxr-xr-x | cgi/cgi | 5 | ||||
-rw-r--r-- | templates/cgi/debian-official/build.html | 1 | ||||
-rw-r--r-- | templates/cgi/debian-official/form.html | 4 | ||||
-rw-r--r-- | templates/cgi/debian-unofficial/build.html | 1 | ||||
-rw-r--r-- | templates/cgi/debian-unofficial/form.html | 4 |
5 files changed, 1 insertions, 14 deletions
@@ -91,7 +91,6 @@ else LH_MEMTEST=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])memtest=[0-9a-z+]+' | cut -f 2 -d '=' | head -n1) LH_NET_ROOT_PATH=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])net_path=[-0-9a-zA-Z._/]+' | cut -f 2 -d '=' | head -n1) LH_NET_ROOT_SERVER=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])net_server=[0-9.]+' | cut -f 2 -d '=' | head -n1) - LH_USERNAME=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])username=[-0-9a-zA-Z.]+' | cut -f 2 -d '=' | head -n1) # Advanced source options LH_SOURCE=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])source=[a-z]+' | cut -f 2 -d '=' | head -n1) @@ -154,7 +153,6 @@ else -e "s#LH_NET_ROOT_PATH#${LH_NET_ROOT_PATH}#" \ -e "s/LH_NET_ROOT_SERVER/${LH_NET_ROOT_SERVER}/" \ -e "s#SERVER#${_SERVER}#g" \ - -e "s/LH_USERNAME/${LH_USERNAME}/" \ -e "s/LH_SOURCE_IMAGES/${LH_SOURCE_IMAGES}/" \ -e "s/LH_SOURCE/${LH_SOURCE}/" \ -e "s#CUSTOM_BOOTSTRAP#${_CUSTOM_BOOTSTRAP}#" \ @@ -205,7 +203,6 @@ LH_ISO_VOLUME="${LH_ISO_VOLUME}" LH_MEMTEST="${LH_MEMTEST}" LH_NET_ROOT_PATH="${LH_NET_ROOT_PATH}" LH_NET_ROOT_SERVER="${LH_NET_ROOT_SERVER}" -LH_USERNAME="${LH_USERNAME}" # Advanced source options LH_SOURCE_IMAGES="${LH_SOURCE_IMAGES}" @@ -220,7 +217,7 @@ LH_REPOSITORIES="${LH_REPOSITORIES}" EOF echo "$(date +%b\ %d\ %H:%M:%S) ${HOSTNAME} live-helper.cgi: add web build (${_BUILD})." >> /var/log/live - echo "$(date +%b\ %d\ %H:%M:%S) ${HOSTNAME} live-helper.cgi: options ${_BUILD} |email ${_EMAIL}|binary_images ${LH_BINARY_IMAGES}|distribution ${LH_DISTRIBUTION}|packages_lists ${LH_PACKAGES_LISTS}|packages ${LH_PACKAGES}|architecture ${LH_ARCHITECTURE}|mirror_bootstrap_security ${LH_MIRROR_BOOTSTRAP}|mirror_bootstrap ${LH_MIRROR_BOOTSTRAP}|mirror_binary_security ${LH_MIRROR_BINARY_SECURITY}|mirror_binary ${LH_MIRROR_BINARY}|archive_areas ${LH_ARCHIVE_AREAS}|chroot_filesystem ${LH_CHROOT_FILESYSTEM}|linux_flavours ${LH_LINUX_FLAVOURS}|security ${LH_SECURITY}|symlinks ${LH_SYMLINKS}|sysvinit ${LH_SYSVINIT}|binary_indices ${LH_BINARY_INDICES}|bootappend ${LH_BOOTAPPEND}|bootloader ${LH_BOOTLOADER}|debian_installer ${LH_DEBIAN_INSTALLER}|encryption ${LH_ENCRYPTION}|iso_application ${LH_ISO_APPLICATION}|iso_preparer ${LH_ISO_PREPARER}|iso_publisher ${LH_ISO_PUBLISHER}|iso_volume ${LH_ISO_VOLUME}|memtest ${LH_MEMTEST}|net_path ${LH_NET_ROOT_PATH}|net_server ${LH_NET_ROOT_SERVER}|username ${LH_USERNAME}|source_images ${LH_SOURCE_IMAGES}|source ${LH_SOURCE}|custom_bootstrap ${_CUSTOM_BOOTSTRAP}|custom_binary ${_CUSTOM_BINARY}\n" >> /var/log/live + echo "$(date +%b\ %d\ %H:%M:%S) ${HOSTNAME} live-helper.cgi: options ${_BUILD} |email ${_EMAIL}|binary_images ${LH_BINARY_IMAGES}|distribution ${LH_DISTRIBUTION}|packages_lists ${LH_PACKAGES_LISTS}|packages ${LH_PACKAGES}|architecture ${LH_ARCHITECTURE}|mirror_bootstrap_security ${LH_MIRROR_BOOTSTRAP}|mirror_bootstrap ${LH_MIRROR_BOOTSTRAP}|mirror_binary_security ${LH_MIRROR_BINARY_SECURITY}|mirror_binary ${LH_MIRROR_BINARY}|archive_areas ${LH_ARCHIVE_AREAS}|chroot_filesystem ${LH_CHROOT_FILESYSTEM}|linux_flavours ${LH_LINUX_FLAVOURS}|security ${LH_SECURITY}|symlinks ${LH_SYMLINKS}|sysvinit ${LH_SYSVINIT}|binary_indices ${LH_BINARY_INDICES}|bootappend ${LH_BOOTAPPEND}|bootloader ${LH_BOOTLOADER}|debian_installer ${LH_DEBIAN_INSTALLER}|encryption ${LH_ENCRYPTION}|iso_application ${LH_ISO_APPLICATION}|iso_preparer ${LH_ISO_PREPARER}|iso_publisher ${LH_ISO_PUBLISHER}|iso_volume ${LH_ISO_VOLUME}|memtest ${LH_MEMTEST}|net_path ${LH_NET_ROOT_PATH}|net_server ${LH_NET_ROOT_SERVER}|source_images ${LH_SOURCE_IMAGES}|source ${LH_SOURCE}|custom_bootstrap ${_CUSTOM_BOOTSTRAP}|custom_binary ${_CUSTOM_BINARY}\n" >> /var/log/live fi sed -e "s/VERSION/${VERSION}/" "${_TEMPLATES}"/footer.html diff --git a/templates/cgi/debian-official/build.html b/templates/cgi/debian-official/build.html index e0f3266..369b764 100644 --- a/templates/cgi/debian-official/build.html +++ b/templates/cgi/debian-official/build.html @@ -54,7 +54,6 @@ <tr><td>--memtest: </td><td>LH_MEMTEST</td></tr> <tr><td>--net-path: </td><td>LH_NET_ROOT_PATH</td></tr> <tr><td>--net-server: </td><td>LH_NET_ROOT_SERVER</td></tr> - <tr><td>--username: </td><td>LH_USERNAME</td></tr> </table> <b>Advanced source options</b> diff --git a/templates/cgi/debian-official/form.html b/templates/cgi/debian-official/form.html index 85138b2..6facc1c 100644 --- a/templates/cgi/debian-official/form.html +++ b/templates/cgi/debian-official/form.html @@ -282,10 +282,6 @@ <td><input id="Net_Server" name="net_server" maxlength="15" size="50" type="text" value="192.168.1.1" /></td> </tr> <!-- LIVE_SYSLINUX_SPLASH --> - <tr> - <td><label for="Username">--username:</label> </td> - <td><input id="Username" name="username" maxlength="128" size="50" type="text" value="user" /></td> - </tr> </table> </div> diff --git a/templates/cgi/debian-unofficial/build.html b/templates/cgi/debian-unofficial/build.html index 78d7bc6..78c4309 100644 --- a/templates/cgi/debian-unofficial/build.html +++ b/templates/cgi/debian-unofficial/build.html @@ -54,7 +54,6 @@ <tr><td>--memtest: </td><td>LH_MEMTEST</td></tr> <tr><td>--net-path: </td><td>LH_NET_ROOT_PATH</td></tr> <tr><td>--net-server: </td><td>LH_NET_ROOT_SERVER</td></tr> - <tr><td>--username: </td><td>LH_USERNAME</td></tr> </table> <b>Advanced source options</b> diff --git a/templates/cgi/debian-unofficial/form.html b/templates/cgi/debian-unofficial/form.html index ecf1558..e3bc4dc 100644 --- a/templates/cgi/debian-unofficial/form.html +++ b/templates/cgi/debian-unofficial/form.html @@ -281,10 +281,6 @@ <td><input id="Net_Server" name="net_server" maxlength="15" size="50" type="text" value="192.168.1.1" /></td> </tr> <!-- LIVE_SYSLINUX_SPLASH --> - <tr> - <td><label for="Username">--username:</label> </td> - <td><input id="Username" name="username" maxlength="128" size="50" type="text" value="user" /></td> - </tr> </table> </div> |