Dell - Internal Use - Confidential
Killian,
I work in Dell I/T, so my team is a consumer of dsu - like you. I believe this
is very much related to a similar 'dsu -n' situation my team has experienced.
And it's probably easier to reproduce than having to re-kickstart a server
every time.
We have implemented a "firstboot" utility in our /etc/rc.local code. Like so:
# firstboot utility
for script in `ls /etc/rc.d/init.d/firstboot.d/*`
do
echo "Executing script at $script"
nohup $script >> /var/log/firstboot.log 2>&1 && rm $script
sleep 10
done
The intent is if you wish to execute something not now, but on next reboot -
you drop a little scriptlet in /etc/rc.d/init.d/firstboot.d/ dir. And it gets
executed on next reboot. And then deleted, so it gets executed only on next
reboot.
Mainly we use this in our initial post-build customizations. For those 1-2
specific activities that we can't perform on the install media's kernel.
Anyway, we have noticed that if we drop down a "firstboot" scriptlet that does
'dsu -n', it doesn't do any flashing. Whereas, in a regular environment 'dsu
-n' flashes fine.
We never were able to identify why. Whether it was due to not having a
controlling TTY, or what. Ultimately, we went another away. So at this
point, it's a curiosity item only - I'd forgotten until you mentioned it.
Spike White
Dell I/T
Date: Sat, 20 May 2017 22:46:22 -0700
From: Kilian Cavalotti
<[email protected]<mailto:[email protected]>>
Subject: Re: [Linux-PowerEdge] DSU replaces '-n' option with '-p'
To: Patrick Boutilier <[email protected]<mailto:[email protected]>>
Cc: [email protected]<mailto:[email protected]>
Message-ID:
<CAJz=vjhfgzrt8yo6gtwcyp6zsk-qipx0+23y6vcmwfippvx...@mail.gmail.com<mailto:CAJz=vjhfgzrt8yo6gtwcyp6zsk-qipx0+23y6vcmwfippvx...@mail.gmail.com>>
Content-Type: text/plain; charset="utf-8"
Thanks for the suggestion. "dsu -n" actually applies the updates when run
in a regular environment, outside of the Kickstart file.
_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge