diff --git a/deploy/oracle/main.tf b/deploy/oracle/main.tf index 1e5eea0..e7a6593 100644 --- a/deploy/oracle/main.tf +++ b/deploy/oracle/main.tf @@ -93,6 +93,7 @@ resource "oci_core_instance" "my_compute_instance" { subnet_id = oci_core_subnet.my_public_subnet.id # Use the created subnet's ID display_name = "primary_vnic" assign_public_ip = true + hostname_label = "flame" } metadata = { diff --git a/hosts/aarch64-linux/flame/default.nix b/hosts/aarch64-linux/flame/default.nix index d1c1642..5d74619 100644 --- a/hosts/aarch64-linux/flame/default.nix +++ b/hosts/aarch64-linux/flame/default.nix @@ -61,22 +61,6 @@ rec { # Taken from https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/virtualisation/oci-common.nix - # Taken from /proc/cmdline of Ubuntu 20.04.2 LTS on OCI - boot.kernelParams = [ - "nvme.shutdown_timeout=10" - "nvme_core.shutdown_timeout=10" - "libiscsi.debug_libiscsi_eh=1" - "crash_kexec_post_notifiers" - # VNC console - "console=tty1" - # x86_64-linux - "console=ttyS0" - # aarch64-linux - "console=ttyAMA0,115200" - ]; - - boot.growPartition = true; - fileSystems."/" = { device = "/dev/disk/by-label/nixos"; fsType = "ext4"; @@ -106,7 +90,7 @@ rec { services.openssh.enable = true; - # Otherwise the instance may not have a working network-online.target, - # making the fetch-ssh-keys.service fail - networking.useNetworkd = true; + # # Otherwise the instance may not have a working network-online.target, + # # making the fetch-ssh-keys.service fail + # networking.useNetworkd = true; }