Controll the folder access by applications
getenforcesestatus
- Set
SELinuxto permissive
| # The method should be set to "raid". | |
| d-i partman-auto/method string raid | |
| # Specify the disks to be partitioned. They will all get the same layout, | |
| # so this will only work if the disks are the same size. | |
| d-i partman-auto/disk string /dev/sda /dev/sdb | |
| # Next you need to specify the physical partitions that will be used. | |
| d-i partman-auto/expert_recipe string \ |
| #version=RHEL7 | |
| # System authorization information | |
| auth --enableshadow --passalgo=sha512 | |
| # Use graphical install | |
| graphical | |
| # Run the Setup Agent on first boot | |
| firstboot --enable | |
| ignoredisk --only-use=sde | |
| # Keyboard layouts | |
| keyboard --vckeymap=us --xlayouts='us' |
| # reassemble the raid | |
| sudo mdadm --assemble --scan | |
| sudo mdadm --detail --scan | sudo tee -a /etc/mdadm.conf | |
| # Rebuild kernel to include the raid configuration | |
| sudo dracut -f /boot/initramfs-$(uname -r).img $(uname -r) | |
| sudo grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg | |
| # Remake the file system | |
| sudo sfdik --delete /dev/md0 |
[ -d /sys/firmware/efi ] && echo "EFI boot on HDD" || echo "Legacy boot on HDD"
mkdir /target
# list drives
fdisk -l
# find each partition, i.e, /, /boot, /boot/efi and /home
# mount themipmitool -H <IP> -U <USER> -P <PASSWD> raw 0x30 0x45 0x00The values are:
| #!/usr/bin/python | |
| import nmap | |
| target_mac = '<Enter MAC Adress>' | |
| nm = nmap.PortScanner() | |
| nm.scan(hosts='10.0.0.0/24', arguments='-n -sP') |
Hi,
I packaged a few of Intel's out of tree NIC drivers from http://sourceforge.net/projects/e1000/ as dkms based .debs and included them in a custom grml image.
I'll explain how; if there is interest, I can also share my packages (although, as you'll see, they're likely sub-par, because I did not take the time to really understand what I was doing; in particular, I fear the e1000e module may not always build correctly at grml-live time, while it builds