From: Peter Palfrader Date: Sat, 27 Mar 2010 13:48:32 +0000 (+0100) Subject: get rid of tabs X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-wiki.git;a=commitdiff_plain;h=2021429dae8288a66f34af6e55be79944c88fde1 get rid of tabs --- diff --git a/input/howto/drac-reset.creole b/input/howto/drac-reset.creole index 78f1a4a..9a15bcb 100644 --- a/input/howto/drac-reset.creole +++ b/input/howto/drac-reset.creole @@ -7,50 +7,50 @@ dependencies. * Communications with the drac from the host goes over a serial device, which you need to serialsetup first: To do that run {{{ - sh -x drac-stuff/etc/init.d/racsvc start + sh -x drac-stuff/etc/init.d/racsvc start }}} it will fail in a few places but it will figure out which ttySXX it is, and it will do a sersetup on it. * Start ravscv using {{{ - LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" drac-stuff/usr/sbin/racsvc -d /dev/ttyS2 + LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" drac-stuff/usr/sbin/racsvc -d /dev/ttyS2 }}} or whatever ttyS it is in this case. It will need ia32-libs if you are on amd64. ("File not found" tells you that.) * get the current config: {{{ - # LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm getconfig -p -f drac-config + # LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm getconfig -p -f drac-config }}} * reset all config: {{{ - # LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm racresetcfg + # LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm racresetcfg }}} * enable dhcp: {{{ - # LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm setniccfg -d + # LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm setniccfg -d }}} * or set static addresses: {{{ - # LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm setniccfg -s 192.0.2.011 255.255.255.0 192.0.2..1 + # LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm setniccfg -s 192.0.2.011 255.255.255.0 192.0.2..1 }}} * set a root password (root is user #1 by default): {{{ - # typeset HISTCONTROL=ignoreboth - # LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm config -g cfgUserAdmin -o cfgUserAdminPassword -i 1 "swordfish" + # typeset HISTCONTROL=ignoreboth + # LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm config -g cfgUserAdmin -o cfgUserAdminPassword -i 1 "swordfish" }}} * inspect the new config: {{{ - # LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm getconfig -p -f drac-config-after + # LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm getconfig -p -f drac-config-after }}} * reboot the drac: {{{ - # LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm racreset + # LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm racreset }}}