- Download Ubuntu 24.04
- In Hyper-V use "new" to create VM.
- Enter values in "new" VM wizard, select "Generation 2".
- Complete VM wizard.
- Right click physical computer in "Hyper-V Manager" and select "Settings...".
- Select "Security" and uncheck "Enable Secure Boot" checkbox.
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
targetScope = 'subscription' | |
@description('The environment abbreviation.') | |
@allowed([ | |
'prod' | |
'prev' | |
'demo' | |
'test' | |
'dev' | |
'infra' |
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
<# | |
.SYNOPSIS | |
Replace tokens in a file with values. | |
.DESCRIPTION | |
Finds tokens in a given file and replace them with values. It is best used to replace configuration values in a release pipeline. | |
.PARAMETER InputFile | |
The file containing the tokens. | |
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
|
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
wget -qO- https://gist.githubusercontent.com/russellds/feb8b8d75dfb995b17d3470a1f432044/raw/install.sh | bash |
Bootstrapping a Red Hat Enterprise Linux (RHEL) 9 server on-premises for Ansible involves setting up SSH, Python, and a sudo user, tailored to RHEL’s specifics (e.g., dnf
package manager, wheel
group for sudo). Since this is your first server, I’ll provide a concise, secure, and RHEL-specific process to get it ready for Ansible management, including a shell script to automate the bootstrap. The process assumes you have initial access to the server (e.g., via root or a default user) and are setting it up from a control node (your local machine or another server running Ansible).
- RHEL 9 installed: Ensure the server has a base installation with SSH enabled (usually included in RHEL’s default setup).
- Control node: A machine with Ansible installed (can be your local machine or another server).
- Network access: The control node must reach the server via SSH (port 22).
- Initial credentials: Root access or a user with sudo privile
OlderNewer