Skip to content

Instantly share code, notes, and snippets.

@jbielick
Created February 23, 2021 00:26
Show Gist options
  • Select an option

  • Save jbielick/ee6dfc3de82c2134515e0e9606b8fcc1 to your computer and use it in GitHub Desktop.

Select an option

Save jbielick/ee6dfc3de82c2134515e0e9606b8fcc1 to your computer and use it in GitHub Desktop.

Revisions

  1. jbielick created this gist Feb 23, 2021.
    38 changes: 38 additions & 0 deletions instance_configs-full.cfg
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,38 @@
    [Accounts]
    deprovision_remove = false
    gpasswd_add_cmd = gpasswd -a {user} {group}
    gpasswd_remove_cmd = gpasswd -d {user} {group}
    groupadd_cmd = groupadd {group}
    groups = adm,dip,docker,lxd,plugdev,video
    useradd_cmd = useradd -m -s /bin/bash -p * {user}
    userdel_cmd = userdel -r {user}

    [Daemons]
    accounts_daemon = true
    clock_skew_daemon = true
    network_daemon = true

    [InstanceSetup]
    host_key_types = ecdsa,ed25519,rsa
    network_enabled = true
    optimize_local_ssd = true
    set_boto_config = true
    set_host_keys = false
    set_multiqueue = true

    [IpForwarding]
    ethernet_proto_id = 66
    ip_aliases = true
    target_instance_ips = true

    [MetadataScripts]
    default_shell = /bin/bash
    run_dir =
    shutdown = true
    startup = true

    [NetworkInterfaces]
    dhclient_script = /sbin/google-dhclient-script
    dhcp_command =
    ip_forwarding = true
    setup = true