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"
         }
      }

      Terraform language logo
      cobbler_system

      Terraform snippets

      Shortcut: tf_cobbler_system

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.