0) Prereqs (once)
Install the collection:
ansible-galaxy collection install servicenow.itsm
/etc/security/access.conf
)- name: Ensure /tmp and /var/tmp do not use noexec
become: true
block:
- name: Remove 'noexec' from /etc/fstab for /tmp
lineinfile:
path: /etc/fstab
regexp: '^([^#].*\s/tmp\s.*)noexec(.*)$'
line: '\1\2'
---
- name: Get FlashArray summary info
hosts: localhost
gather_facts: false
tasks:
- name: Get FlashArray system info
purestorage.flasharray.purefa_info:
gather_subset:
This guide walks you through setting up Morpheus 8 to provision virtual machines both on-prem (vSphere, KVM, Hyper-V) and in the cloud (AWS, Azure, etc.), and to automatically configure them using Ansible (Standalone mode) running from the Morpheus appliance.
Ensure your VM image (on-prem or cloud) includes:
Building a RHEL 9 ISO image using Packer 1.12 on RHEL 8 requires multiple steps. This guide will take you from installing dependencies to creating the ISO with Packer. | |
--- | |
Step 1: Install Required Packages | |
Ensure your RHEL 8 system has the necessary tools installed. | |
# Enable required repositories |
aws ec2 describe-instances --instance-id $(curl -s http://169.254.169.254/latest/meta-data/instance-id) --query "Reservations[].Instances[].SecurityGroups" --output json
This will return something like:
The issue you're encountering is likely due to the use of the MBR (Master Boot Record) partitioning scheme. MBR has a partition size limitation of 2TB. If you have disks larger than 2TB and you want to use the entire space in a single partition, you should use the GPT (GUID Partition Table) partitioning scheme instead of MBR.
To use the full capacity of a 3TB (or larger) disk on RHEL6, you'd want to use the GPT format. Here's how you can create a GPT partition:
Backup any data: Before making any changes to the disk, ensure you've backed up any data on it.
Install gdisk
: The gdisk
utility is a version of fdisk
for GPT. It might not be installed by default:
bash