cobbler_system

    0

    0

    lucycodes42

    Terraform snippets

    Shortcut: tf_cobbler_system

    resource "cobbler_system" "${myResourceName}" {
       name = "my-${myResourceName}"
       description = "my-description-${myResourceName}"
       profile = "\${cobbler_profile.my_profile.name}"
       name_servers = ["8.8.8.8", "8.8.4.4"]
       comment = "I'm a system"
    
       interface {
           name = "eth0"
           mac_address = "aa:bb:cc:dd:ee:ff"
           static = true
           ip_address = "1.2.3.4"
           netmask = "255.255.255.0"
       }
    
       interface {
           name = "eth1"
           mac_address = "aa:bb:cc:dd:ee:fa"
           static = true
           ip_address = "1.2.3.5"
           netmask = "255.255.255.0"
       }
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.