/boot and swap autocreate partitions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm using my own server.py script install for my distribution.
I would like to define partitions size so that why the script looks like :

    def setInstallData(self, id):
        BaseInstallClass.setInstallData(self, id)
        BaseInstallClass.setDefaultPartitioning(self, id.partitions,
                                                CLEARPART_TYPE_ALL, 1,
                                                [ ("/", "ext3", 1535,
1535, 0, 1, 0),
#                                                 (None, "swap", 1024,
1024, 1, 1, 0),
                                                  ("/usr", "ext3", 2048,
2048, 1, 1, 0),
                                                  ("/tmp", "ext3", 1024,
1024, 1, 1, 0),
                                                  ("/var", "ext3", 1024,
None, 1, 1, 0),
                                                  ("/home", "ext3",
4096, 4096, 1, 1, 0) ] )

After iso creation and installation, when seeing default partitions size
I could see that there is /boot and swap automaticaly created.
If I remove # to try to create the swap partition then I return back
with two swap partitions initialized during installation.

How is it possible to remove the /boot and swap autocreation during
installation process and use the method define in server.py ?

Thanks

Vincent


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux