Hello Andrew, I also use custom partitioning in my nodes. Defining a partitionfile at in OSImage definition have did the trick for me.
Did you define your custom partition file in the OSImage definition you want to install? Regards, Hakan On 04/13/2018 08:40 PM, Andrew Loftus wrote: > xCAT Version 2.13.7.lenovo2 > > xCAT does a really good job of selecting the install disk and creating a > default partitioning scheme. > However, when specifying a custom partition script, xCAT does > deliberately "rm" the generated /tmp/partitionfile just before running > the custom partition script. > > Is there a legitimate reason for doing so? > > I have a use case where I simply want to enforce a maxsize on the root > LV. To do this currently, the entire partitioning scheme must be written > into the custom script, which isn't difficult and can even get the value > for install_disk from /tmp/xcat.install_disk. But, if future versions of > xCAT make improvements in the partition generation logic, the custom > script will not get any benefit from them. > > I suggest that it would be better to leave the xCAT generated > /tmp/partitionfile in place so that the user can reference it if needed > or useful. > If leaving the auto-generated file in place is not possible (for > whatever reason), an alternative is to rename it. Just as long as it's > kept around for possible reference by the user's custom script. > > Cheers, > --Andy > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > > _______________________________________________ > xCAT-user mailing list > xCAT-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xcat-user > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user