From 18fae2f9a5dd4a877b557818552844ea00ec30d2 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Wed, 4 Mar 2026 15:31:16 +0100 Subject: Rename mac host names --- archlinux.md | 2 +- host_vars/mac-archiso.local.yml | Bin 1040 -> 0 bytes host_vars/mac-archiso.local.yml.example | 47 -------------------------------- host_vars/marchiso.local.yml | Bin 0 -> 1047 bytes host_vars/marchiso.local.yml.example | 47 ++++++++++++++++++++++++++++++++ inventory/hosts.yml | 2 +- 6 files changed, 49 insertions(+), 49 deletions(-) delete mode 100644 host_vars/mac-archiso.local.yml delete mode 100644 host_vars/mac-archiso.local.yml.example create mode 100644 host_vars/marchiso.local.yml create mode 100644 host_vars/marchiso.local.yml.example diff --git a/archlinux.md b/archlinux.md index 98df00b..5138de1 100644 --- a/archlinux.md +++ b/archlinux.md @@ -24,7 +24,7 @@ dhcpcd wlan0 **Mac Example:** ```bash -hostnamectl set-hostname mac-archiso.local +hostnamectl set-hostname marchiso.local passwd rmmod b43 ssb bcma wl modprobe wl diff --git a/host_vars/mac-archiso.local.yml b/host_vars/mac-archiso.local.yml deleted file mode 100644 index c0b5a59..0000000 Binary files a/host_vars/mac-archiso.local.yml and /dev/null differ diff --git a/host_vars/mac-archiso.local.yml.example b/host_vars/mac-archiso.local.yml.example deleted file mode 100644 index 749b6a8..0000000 --- a/host_vars/mac-archiso.local.yml.example +++ /dev/null @@ -1,47 +0,0 @@ ---- -hostname: "mac.local" -partition_disk: "/dev/sda" -partition_wipe: false -partition_boot: - num: 1 - name: "boot" - flags: [boot, esp] - part_start: "0%" - part_end: "1.0GiB" - fstype: "vfat" - fstype_opts: "-F 32" - dev: "{{ partition_disk }}1" - mount_path: "/mnt/boot/efi" - fstab_opts: "defaults,nodev,nosuid,noexec,umask=0077" -partition_swap: - num: 2 - name: "swap" - flags: [swap] - part_start: "1.0GiB" - part_end: "9.0GiB" - fstype: "ext4" - dev: "{{ partition_disk }}2" - mount_path: "none" -partition_root: - num: 4 - name: "arch-root" - part_start: "59.0GiB" - part_end: "109.0GiB" - fstype: "ext4" - dev: "{{ partition_disk }}4" - mount_path: "/mnt" -partition_extras: - - num: 3 - name: "ubuntu-root" - part_start: "9.0GiB" - part_end: "59.0GiB" - fstype: "ext4" - dev: "{{ partition_disk }}3" - - num: 5 - name: "home" - part_start: "109.0GiB" - part_end: "100%" - fstype: "ext4" - dev: "{{ partition_disk }}4" -bootstrap_mac: true -configure_playbook_dir: "../ansible-distro-configure" diff --git a/host_vars/marchiso.local.yml b/host_vars/marchiso.local.yml new file mode 100644 index 0000000..6ade5ea Binary files /dev/null and b/host_vars/marchiso.local.yml differ diff --git a/host_vars/marchiso.local.yml.example b/host_vars/marchiso.local.yml.example new file mode 100644 index 0000000..37f93a9 --- /dev/null +++ b/host_vars/marchiso.local.yml.example @@ -0,0 +1,47 @@ +--- +hostname: "marchlinux.local" +partition_disk: "/dev/sda" +partition_wipe: false +partition_boot: + num: 1 + name: "boot" + flags: [boot, esp] + part_start: "0%" + part_end: "1.0GiB" + fstype: "vfat" + fstype_opts: "-F 32" + dev: "{{ partition_disk }}1" + mount_path: "/mnt/boot/efi" + fstab_opts: "defaults,nodev,nosuid,noexec,umask=0077" +partition_swap: + num: 2 + name: "swap" + flags: [swap] + part_start: "1.0GiB" + part_end: "9.0GiB" + fstype: "ext4" + dev: "{{ partition_disk }}2" + mount_path: "none" +partition_root: + num: 4 + name: "arch-root" + part_start: "59.0GiB" + part_end: "109.0GiB" + fstype: "ext4" + dev: "{{ partition_disk }}4" + mount_path: "/mnt" +partition_extras: + - num: 3 + name: "ubuntu-root" + part_start: "9.0GiB" + part_end: "59.0GiB" + fstype: "ext4" + dev: "{{ partition_disk }}3" + - num: 5 + name: "home" + part_start: "109.0GiB" + part_end: "100%" + fstype: "ext4" + dev: "{{ partition_disk }}4" +bootstrap_mac: true +configure_playbook_dir: "../ansible-distro-configure" diff --git a/inventory/hosts.yml b/inventory/hosts.yml index 5bb79b5..d219b43 100644 --- a/inventory/hosts.yml +++ b/inventory/hosts.yml @@ -4,7 +4,7 @@ live_environments: ansible_connection: ssh ansible_ssh_common_args: "-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" hosts: - mac-archiso.local: + marchiso.local: ansible_user: root archiso.local: ansible_user: root -- cgit v1.2.3