DISISO="$HOME/Downloads/grml64-small_2017.05.iso"
squashfs="/live/grml64-full/grml64-full.squashfs"
mkdir ~/livecdtmp
cd ~/livecdtmp
mkdir extract-cd mnt
sudo mount -o loop "$DISISO" mnt
sudo rsync --exclude=$squashfs -a mnt/ extract-cd
sudo unsquashfs mnt$squashfs
sudo mv squashfs-root edit
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
| #!/usr/bin/env python3 | |
| # pproc | |
| # Runs multiple subprocesses in parallel, serializing stdout. | |
| # | |
| # Author: Benjamin Bengfort <[email protected]> | |
| # Created: Wed Jun 14 15:20:05 2017 -0400 | |
| # | |
| # Copyright (C) 2017 Bengfort.com | |
| # For license information, see LICENSE.txt | |
| # |
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
| #!/usr/bin/env bash | |
| echo "Counting HBA SAS3 controllers ..." | |
| sas_ctrl=$(sas3flash -listall | grep -e "^[0-9]"| awk '{print $1}') | |
| output="/tmp/sas.txt" | |
| for ctrl in ${sas_ctrl[@]}; do | |
| ctrl_index=$(echo $ctrl | awk '{print $1}') | |
| echo "Controller ${ctrl_index}: Identifying Model and Firmware ID" | |
| sas3flash -c ${ctrl_index} -list > $output | |
| model=$(awk '/Board Name/ {print $4}' $output) |
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
| #cloud-config | |
| autoinstall: | |
| refresh-installer: | |
| update: true | |
| apt: | |
| geoip: true | |
| preserve_sources_list: false | |
| primary: | |
| - arches: [amd64, i386] | |
| uri: http://us.archive.ubuntu.com/ubuntu |
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
| #cloud-config | |
| autoinstall: | |
| refresh-installer: | |
| update: true | |
| apt: | |
| geoip: true | |
| preserve_sources_list: false | |
| primary: | |
| - arches: [amd64, i386] | |
| uri: http://us.archive.ubuntu.com/ubuntu |
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
| def ____run(self, command): | |
| procs = {} | |
| for node in self.nodes: | |
| ip = node['ip'] | |
| user = node['user'] | |
| password = node['password'] | |
| cmd = f'ipmitool -H {ip} -U {user} -P {password} {command}' | |
| procs[ip] = subprocess.Popen(cmd, | |
| shell=True, | |
| stdout=subprocess.PIPE, |
Password: 512900 or Jinhua1920unauthorized
<HP 1920G Switch>_cmdline-mode on
[HP 1920G Switch] ipsetup ip-address 192.168.1.2 24 default-gateway 192.168.1.1
[HP 1920G Switch] save
[HP 1920G Switch] rebootIf the INACCESSIBLE_BOOT_DEVICE blue screen error is displayed due to other operations, perform the following procedure:
A - Prepare USB with Drivers
-
You'll need a USB drive formatted as
FAT32 -
Create a folder in the USB, named
driversor any other name easy to remember. -
Download
Intel VROCdriver from Supermicro https://www.supermicro.com/wftp/driver/VROC/
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
| --- if_mcx.c Thu Nov 5 09:48:26 2020 | |
| +++ /usr/src/sys/dev/pci/if_mcx.c Thu Nov 5 09:39:32 2020 | |
| @@ -839,6 +839,7 @@ | |
| #define MCX_CAP_DEVICE_PORT_MODULE_EVENT \ | |
| 0x80 | |
| #define MCX_CAP_DEVICE_PORT_TYPE 0x03 | |
| +#define MCX_CAP_DEVICE_PORT_TYPE_ETH 0x01 | |
| uint8_t num_ports; | |
| uint8_t snapshot_log_max_msg; |