This small script lets you start iLO Java-based console from shell.
- iLO 2/3 doesn't have HTML5 console
- Mounting local (from the client computer) ISOs is PAINFULLY slow via HTML5 client
If you just start it, it will ask you for everything:
| #!/bin/bash | |
| ############################################################### | |
| # This Script creates a service and a dedicated user # | |
| # for running sheepit-client (www.sheepit.com) on a headless # | |
| # Linux-Server # | |
| # # | |
| # Author of this script is: [email protected] # | |
| ############################################################### | |
| ############################################################### |
| # Add Dell GPG key to apt | |
| apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 1285491434D8786F | |
| echo "deb http://linux.dell.com/repo/community/openmanage/930/bionic bionic main" > /etc/apt/sources.list.d/linux.dell.com.sources.list | |
| wget http://archive.ubuntu.com/ubuntu/pool/universe/o/openwsman/libwsman-curl-client-transport1_2.6.5-0ubuntu3_amd64.deb | |
| wget http://archive.ubuntu.com/ubuntu/pool/universe/o/openwsman/libwsman-client4_2.6.5-0ubuntu3_amd64.deb | |
| wget http://archive.ubuntu.com/ubuntu/pool/universe/o/openwsman/libwsman1_2.6.5-0ubuntu3_amd64.deb | |
| wget http://archive.ubuntu.com/ubuntu/pool/universe/o/openwsman/libwsman-server1_2.6.5-0ubuntu3_amd64.deb | |
| wget http://archive.ubuntu.com/ubuntu/pool/universe/s/sblim-sfcc/libcimcclient0_2.2.8-0ubuntu2_amd64.deb | |
| wget http://archive.ubuntu.com/ubuntu/pool/universe/o/openwsman/openwsman_2.6.5-0ubuntu3_amd64.deb | |
| wget http://archive.ubuntu.com/ubuntu/pool/multiverse/c/cim-schema/cim-schema_2.48.0-0ubuntu1_all.deb |
| using namespace System.Collections.Generic | |
| # Encapsulate an arbitrary command | |
| class PaneCommand { | |
| [string]$Command | |
| PaneCommand() { | |
| $this.Command = ""; | |
| } |
| Write-Information "This script needs be run on Windows Server 2019 or 2022" | |
| If ($PSVersionTable.PSVersion.Major -ge 7){ Write-Error "This script needs be run by version of PowerShell prior to 7.0" } | |
| # Define environment variables | |
| $downloadDir = "C:\WinGet" | |
| $gitRepo = "microsoft/winget-cli" | |
| $msiFilenamePattern = "*.msixbundle" | |
| $licenseFilenamePattern = "*.xml" | |
| $releasesUri = "https://api.github.com/repos/$gitRepo/releases/latest" |
Leverage Docker and Netboot.xyz to host Harvester/Rocky/Liberty installers and kickstart. We have been developing an Harvester Workshop and needed a better way to boot dozens of machines. Netboot.xyz was a simple way to do it. We used https://hub.docker.com/r/linuxserver/netbootxyz to simplify the install.
Then we created a custom menu and loaded the assets. After updating the DHCP settings on the network to point to the machine we are able to boot anything.
Netboot Docker docs : https://netboot.xyz/docs/docker
| Get-Process | Where-Object {$_.MainWindowTitle -ne ""} | Select-Object MainWindowTitle, Id, MainWindowHandle | |
| pause |