mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 11:30:13 +00:00
try disabling some extra flame settings
This commit is contained in:
@ -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
|
subnet_id = oci_core_subnet.my_public_subnet.id # Use the created subnet's ID
|
||||||
display_name = "primary_vnic"
|
display_name = "primary_vnic"
|
||||||
assign_public_ip = true
|
assign_public_ip = true
|
||||||
|
hostname_label = "flame"
|
||||||
}
|
}
|
||||||
|
|
||||||
metadata = {
|
metadata = {
|
||||||
|
@ -61,22 +61,6 @@ rec {
|
|||||||
|
|
||||||
# Taken from https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/virtualisation/oci-common.nix
|
# 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."/" = {
|
fileSystems."/" = {
|
||||||
device = "/dev/disk/by-label/nixos";
|
device = "/dev/disk/by-label/nixos";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
@ -106,7 +90,7 @@ rec {
|
|||||||
|
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
|
|
||||||
# Otherwise the instance may not have a working network-online.target,
|
# # Otherwise the instance may not have a working network-online.target,
|
||||||
# making the fetch-ssh-keys.service fail
|
# # making the fetch-ssh-keys.service fail
|
||||||
networking.useNetworkd = true;
|
# networking.useNetworkd = true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user