GithubHelp home page GithubHelp logo

Comments (5)

raandree avatar raandree commented on May 22, 2024

@PerPedersenMSFT has taken care of this. Recycling one of his statements:

Simply add the machine to the script and re-run the entire part of the script which creates the machines.
Ie, add a line with Add-LabMachineDefinition -Name NewMachineName and run the lines beginning with New-LabDefinition ending with Install-Lab line(s)

I am not sure if this works with all roles but definitely with AD.

from automatedlab.

carfesh avatar carfesh commented on May 22, 2024

Thanks for the idea, I will give it a shot! For the lab I'm working on this might become complicated however because the lab can be installed in different ways (the subnet can be customized, machine OS can be customized, it can be installed with or without an externally facing adapter, etc.)

I will need to find a way to keep those settings "in sync" so they don't contradict each other, the easiest way would really have been to just re-import the existing lab definition. Other things like installing software etc. also work fine when doing this, but sadly not the creation of additional machines.

Are you aware of any technical or design restrictions why this isn't possible? Maybe I'll look into that myself when I have a little more time to spare..

from automatedlab.

BristleBeard avatar BristleBeard commented on May 22, 2024

Perhaps when a lab is created, a 'state' file could be defined with it, basically marking lab creation steps as done or complete as they execute.

For example, you create a lab with a DC, a root CA, and two member servers. Once it is finished, the basic steps involved (create domain, join domain, create each server, join each server, etc) could be marked as completed in an xml file. If you add a new definition to the lab later, when you execute the script, it checks against the xml and finds that all steps are completed except there is no info for this newly added definition, so it does the steps needed to only the newly defined server.

from automatedlab.

Juvls avatar Juvls commented on May 22, 2024

Yes it would be great to have this feature implemented!

from automatedlab.

raandree avatar raandree commented on May 22, 2024

Closing this. We continue to track this on #123, which is about almost the same.

from automatedlab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.