How make to nic bonding using curtin in maas

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I want to make nic bonding using curtin preseed in maas.
I tried ...:



vi /etc/maas/preseeds/curtin_userdata_ubuntu_amd64_generic_xenial
debconf_selections:
maas: |
for line in str(curtin_preseed).splitlines()
line
endfor
early_commands:
................................
network:
version: 1
config:

- id: enp130s0f0
mac_address: xxxxxxxxxxxxxxxxx
mtu: 1500
name: enp130s0f0
subnets:
- type: manual
type: physical

- id: enp131s0f0
mac_address: xxxxxxxxxxxxxxxxx
mtu: 1500
name: enp131s0f0
subnets:
- type: manual
type: physical

- bond_interfaces:
- enp130s0f0
- enp131s0f0
id: bond0
mac_address: xxxxxxxxxxxxxxxxx
mtu: 1500
name: bond0
params:
bond-mode: active-backup
subnets:
- address: 192.168.2.10/24
type: manual
type: bond
................................


Result : No Error, No bond.
Not exist bond config in /etc/cloud/cloud.cfg.d/50-curtin-networking.cfg



How make to nic bonding using curtin in maas ?
Thanks.










share|improve this question

























    up vote
    0
    down vote

    favorite












    I want to make nic bonding using curtin preseed in maas.
    I tried ...:



    vi /etc/maas/preseeds/curtin_userdata_ubuntu_amd64_generic_xenial
    debconf_selections:
    maas: |
    for line in str(curtin_preseed).splitlines()
    line
    endfor
    early_commands:
    ................................
    network:
    version: 1
    config:

    - id: enp130s0f0
    mac_address: xxxxxxxxxxxxxxxxx
    mtu: 1500
    name: enp130s0f0
    subnets:
    - type: manual
    type: physical

    - id: enp131s0f0
    mac_address: xxxxxxxxxxxxxxxxx
    mtu: 1500
    name: enp131s0f0
    subnets:
    - type: manual
    type: physical

    - bond_interfaces:
    - enp130s0f0
    - enp131s0f0
    id: bond0
    mac_address: xxxxxxxxxxxxxxxxx
    mtu: 1500
    name: bond0
    params:
    bond-mode: active-backup
    subnets:
    - address: 192.168.2.10/24
    type: manual
    type: bond
    ................................


    Result : No Error, No bond.
    Not exist bond config in /etc/cloud/cloud.cfg.d/50-curtin-networking.cfg



    How make to nic bonding using curtin in maas ?
    Thanks.










    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I want to make nic bonding using curtin preseed in maas.
      I tried ...:



      vi /etc/maas/preseeds/curtin_userdata_ubuntu_amd64_generic_xenial
      debconf_selections:
      maas: |
      for line in str(curtin_preseed).splitlines()
      line
      endfor
      early_commands:
      ................................
      network:
      version: 1
      config:

      - id: enp130s0f0
      mac_address: xxxxxxxxxxxxxxxxx
      mtu: 1500
      name: enp130s0f0
      subnets:
      - type: manual
      type: physical

      - id: enp131s0f0
      mac_address: xxxxxxxxxxxxxxxxx
      mtu: 1500
      name: enp131s0f0
      subnets:
      - type: manual
      type: physical

      - bond_interfaces:
      - enp130s0f0
      - enp131s0f0
      id: bond0
      mac_address: xxxxxxxxxxxxxxxxx
      mtu: 1500
      name: bond0
      params:
      bond-mode: active-backup
      subnets:
      - address: 192.168.2.10/24
      type: manual
      type: bond
      ................................


      Result : No Error, No bond.
      Not exist bond config in /etc/cloud/cloud.cfg.d/50-curtin-networking.cfg



      How make to nic bonding using curtin in maas ?
      Thanks.










      share|improve this question













      I want to make nic bonding using curtin preseed in maas.
      I tried ...:



      vi /etc/maas/preseeds/curtin_userdata_ubuntu_amd64_generic_xenial
      debconf_selections:
      maas: |
      for line in str(curtin_preseed).splitlines()
      line
      endfor
      early_commands:
      ................................
      network:
      version: 1
      config:

      - id: enp130s0f0
      mac_address: xxxxxxxxxxxxxxxxx
      mtu: 1500
      name: enp130s0f0
      subnets:
      - type: manual
      type: physical

      - id: enp131s0f0
      mac_address: xxxxxxxxxxxxxxxxx
      mtu: 1500
      name: enp131s0f0
      subnets:
      - type: manual
      type: physical

      - bond_interfaces:
      - enp130s0f0
      - enp131s0f0
      id: bond0
      mac_address: xxxxxxxxxxxxxxxxx
      mtu: 1500
      name: bond0
      params:
      bond-mode: active-backup
      subnets:
      - address: 192.168.2.10/24
      type: manual
      type: bond
      ................................


      Result : No Error, No bond.
      Not exist bond config in /etc/cloud/cloud.cfg.d/50-curtin-networking.cfg



      How make to nic bonding using curtin in maas ?
      Thanks.







      maas






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 29 at 10:36









      jelee

      11




      11




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          MAAS already supports configuring bonds. You dont have a need to send custom curtin preseed information, you can do the configuration you want in MAAS and it will handle it all automatically for you.



          That said, make sure you are using the latest supported version of MAAS (2.3) with the latest images.






          share|improve this answer




















          • Thanks for your reply. But, if we have many machines and same network/storage configuration , how make it at once ?
            – jelee
            Feb 15 at 3:06











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1000950%2fhow-make-to-nic-bonding-using-curtin-in-maas%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote













          MAAS already supports configuring bonds. You dont have a need to send custom curtin preseed information, you can do the configuration you want in MAAS and it will handle it all automatically for you.



          That said, make sure you are using the latest supported version of MAAS (2.3) with the latest images.






          share|improve this answer




















          • Thanks for your reply. But, if we have many machines and same network/storage configuration , how make it at once ?
            – jelee
            Feb 15 at 3:06















          up vote
          0
          down vote













          MAAS already supports configuring bonds. You dont have a need to send custom curtin preseed information, you can do the configuration you want in MAAS and it will handle it all automatically for you.



          That said, make sure you are using the latest supported version of MAAS (2.3) with the latest images.






          share|improve this answer




















          • Thanks for your reply. But, if we have many machines and same network/storage configuration , how make it at once ?
            – jelee
            Feb 15 at 3:06













          up vote
          0
          down vote










          up vote
          0
          down vote









          MAAS already supports configuring bonds. You dont have a need to send custom curtin preseed information, you can do the configuration you want in MAAS and it will handle it all automatically for you.



          That said, make sure you are using the latest supported version of MAAS (2.3) with the latest images.






          share|improve this answer












          MAAS already supports configuring bonds. You dont have a need to send custom curtin preseed information, you can do the configuration you want in MAAS and it will handle it all automatically for you.



          That said, make sure you are using the latest supported version of MAAS (2.3) with the latest images.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 14 at 18:46









          Andres Rodriguez

          1,06457




          1,06457











          • Thanks for your reply. But, if we have many machines and same network/storage configuration , how make it at once ?
            – jelee
            Feb 15 at 3:06

















          • Thanks for your reply. But, if we have many machines and same network/storage configuration , how make it at once ?
            – jelee
            Feb 15 at 3:06
















          Thanks for your reply. But, if we have many machines and same network/storage configuration , how make it at once ?
          – jelee
          Feb 15 at 3:06





          Thanks for your reply. But, if we have many machines and same network/storage configuration , how make it at once ?
          – jelee
          Feb 15 at 3:06


















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1000950%2fhow-make-to-nic-bonding-using-curtin-in-maas%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          pylint3 and pip3 broken

          Missing snmpget and snmpwalk

          How to enroll fingerprints to Ubuntu 17.10 with VFS491