Created
August 19, 2024 08:19
-
-
Save BuildingAtom/9cf7e0578ef1dbc6163da26d8e03c443 to your computer and use it in GitHub Desktop.
racadm in docker for local user
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# I needed this because i didn't want to modify the files of the base system | |
# assuming you're in a folder with https://www.dell.com/support/home/en-us/drivers/driversdetails?driverid=dfhk6 downloaded | |
# we need systemd and kernel module access (not recommended to leave this without a reboot later) | |
sudo docker run --rm -itd --privileged --cap-add=ALL -v /dev:/dev -v /lib/modules:/lib/modules -v $(pwd):/workdir -v /sys/fs/cgroup:/sys/fs/cgroup:ro jrei/systemd-ubuntu:22.04 | |
# after that, launch into it with exec | |
sudo docker exec -it $0 bash | |
# in the docker | |
apt update | |
apt install pciutils libargtable2-0 openssl kmod dmidecode | |
cd /workdir | |
tar -xvf Dell-iDRACTools-Web-LX-11.0.0.0-*.tar.gz | |
cd iDRACTools/racadm | |
./install_racadm.sh | |
# And now racadm should be accessible in /opt/dell/srvadmin/bin/ | |
# as idracadm7 or similar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment