Hello, i'm testing the partitioning with autoyast and i maybe found a bug. if i use the partitioning like this, the partitioning system respects the decisions to delete or keep partitions: <partitioning xmlns="http://www.suse.com/1.0/yast2ns" type="list" > <drive xmlns="http://www.suse.com/1.0/yast2ns"> <device xmlns="http://www.suse.com/1.0/yast2ns">/dev/sda</device> <initialize xmlns="http://www.suse.com/1.0/yast2ns" config:type="boolean" xmlns:config="http://www.suse.com/1.0/configns"
true</initialize> <partitions xmlns="http://www.suse.com/1.0/yast2ns" config:type="list" xmlns:config="http://www.suse.com/1.0/configns" > <partition xmlns="http://www.suse.com/1.0/yast2ns"> <create xmlns="http://www.suse.com/1.0/yast2ns" config:type="boolean" xmlns:config="http://www.suse.com/1.0/configns" false</create> <filesystem xmlns="http://www.suse.com/1.0/yast2ns" config:type="symbol" xmlns:config="http://www.suse.com/1.0/configns" swap</filesystem> <format xmlns="http://www.suse.com/1.0/yast2ns" config:type="boolean" xmlns:config="http://www.suse.com/1.0/configns" false</format> <loop_fs xmlns="http://www.suse.com/1.0/yast2ns" config:type="boolean" xmlns:config="http://www.suse.com/1.0/configns" false</loop_fs> <mount xmlns="http://www.suse.com/1.0/yast2ns">swap</mount> <mountby xmlns="http://www.suse.com/1.0/yast2ns" config:type="symbol" xmlns:config="http://www.suse.com/1.0/configns" device</mountby> <resize xmlns="http://www.suse.com/1.0/yast2ns" config:type="boolean" xmlns:config="http://www.suse.com/1.0/configns" true</resize> <size xmlns="http://www.suse.com/1.0/yast2ns">auto</size> </partition> <partition xmlns="http://www.suse.com/1.0/yast2ns"> <create xmlns="http://www.suse.com/1.0/yast2ns" config:type="boolean" xmlns:config="http://www.suse.com/1.0/configns" false</create> <crypt_fs xmlns="http://www.suse.com/1.0/yast2ns" config:type="boolean" xmlns:config="http://www.suse.com/1.0/configns" false</crypt_fs> <filesystem xmlns="http://www.suse.com/1.0/yast2ns" config:type="symbol" xmlns:config="http://www.suse.com/1.0/configns" ext3</filesystem> <format xmlns="http://www.suse.com/1.0/yast2ns" config:type="boolean" xmlns:config="http://www.suse.com/1.0/configns" false</format> <label xmlns="http://www.suse.com/1.0/yast2ns">RECOVER</label> <loop_fs xmlns="http://www.suse.com/1.0/yast2ns" config:type="boolean" xmlns:config="http://www.suse.com/1.0/configns" false</loop_fs> <mount xmlns="http://www.suse.com/1.0/yast2ns">/recover</mount> <mountby xmlns="http://www.suse.com/1.0/yast2ns" config:type="symbol" xmlns:config="http://www.suse.com/1.0/configns" label</mountby> <resize xmlns="http://www.suse.com/1.0/yast2ns" config:type="boolean" xmlns:config="http://www.suse.com/1.0/configns" false</resize> </partition> <partition xmlns="http://www.suse.com/1.0/yast2ns"> <create xmlns="http://www.suse.com/1.0/yast2ns" config:type="boolean" xmlns:config="http://www.suse.com/1.0/configns" true</create> <crypt_fs xmlns="http://www.suse.com/1.0/yast2ns" config:type="boolean" xmlns:config="http://www.suse.com/1.0/configns" false</crypt_fs> <filesystem xmlns="http://www.suse.com/1.0/yast2ns" config:type="symbol" xmlns:config="http://www.suse.com/1.0/configns" ext3</filesystem> <format xmlns="http://www.suse.com/1.0/yast2ns" config:type="boolean" xmlns:config="http://www.suse.com/1.0/configns" true</format> <label xmlns="http://www.suse.com/1.0/yast2ns">ROOT</label> <loop_fs xmlns="http://www.suse.com/1.0/yast2ns" config:type="boolean" xmlns:config="http://www.suse.com/1.0/configns" false</loop_fs> <mount xmlns="http://www.suse.com/1.0/yast2ns">/</mount> <mountby xmlns="http://www.suse.com/1.0/yast2ns" config:type="symbol" xmlns:config="http://www.suse.com/1.0/configns" label</mountby> <resize xmlns="http://www.suse.com/1.0/yast2ns" config:type="boolean" xmlns:config="http://www.suse.com/1.0/configns" true</resize> <size xmlns="http://www.suse.com/1.0/yast2ns">10G</size> </partition> <partition xmlns="http://www.suse.com/1.0/yast2ns"> <create xmlns="http://www.suse.com/1.0/yast2ns" config:type="boolean" xmlns:config="http://www.suse.com/1.0/configns" true</create> <crypt_fs xmlns="http://www.suse.com/1.0/yast2ns" config:type="boolean" xmlns:config="http://www.suse.com/1.0/configns" false</crypt_fs> <filesystem xmlns="http://www.suse.com/1.0/yast2ns" config:type="symbol" xmlns:config="http://www.suse.com/1.0/configns" ext3</filesystem> <format xmlns="http://www.suse.com/1.0/yast2ns" config:type="boolean" xmlns:config="http://www.suse.com/1.0/configns" true</format> <label xmlns="http://www.suse.com/1.0/yast2ns">HOME</label> <loop_fs xmlns="http://www.suse.com/1.0/yast2ns" config:type="boolean" xmlns:config="http://www.suse.com/1.0/configns" false</loop_fs> <mount xmlns="http://www.suse.com/1.0/yast2ns">/home</mount> <mountby xmlns="http://www.suse.com/1.0/yast2ns" config:type="symbol" xmlns:config="http://www.suse.com/1.0/configns" label</mountby> <resize xmlns="http://www.suse.com/1.0/yast2ns" config:type="boolean" xmlns:config="http://www.suse.com/1.0/configns" true</resize> <size xmlns="http://www.suse.com/1.0/yast2ns">max</size> </partition> </partitions> <pesize xmlns="http://www.suse.com/1.0/yast2ns"/> <type xmlns="http://www.suse.com/1.0/yast2ns" config:type="symbol" xmlns:config="http://www.suse.com/1.0/configns" CT_DISK</type> <use xmlns="http://www.suse.com/1.0/yast2ns">all</use> </drive> </partitioning>
But if i remove all the tags xmlns="http://www.suse.com/1.0/yast2ns"/ xmlns:config="http://www.suse.com/1.0/configns", the autoyast doesn't respect my decisions and delete all the partitions. For instance, the second way is the way that AutoinstClone::Write outputs the infomation about partittioning added with: map partitions = "partitioning":[$["device":"/dev/sda", "initialize":true, "partitions":[$["create":true, "crypt_fs":false, "filesystem":`swap, "format":true, "loop_fs":false, "mount":"swap", "mountby":`device, "partition_id":130, "partition_nr":5, "resize":false, "size":"781337088"], $["create":true, "crypt_fs":false, "filesystem":`ext3, "format":true, "loop_fs":false, "mount":"/recover", "mountby":`device, "partition_id":131, "partition_nr":6, "resize":false, "size":"10733957632"], $["create":true, "crypt_fs":false, "filesystem":`ext3, "format":true, "loop_fs":false, "mount":"/", "mountby":`device, "partition_id":131, "partition_nr":7, "resize":false, "size":"10733957632"], $["create":true, "crypt_fs":false, "filesystem":`ext3, "format":true, "loop_fs":false, "mount":"/home", "mountby":`device, "partition_id":131,"partition_nr":8, "resize":false, "size":"20661871104"]], "pesize":"", "type":`CT_DISK, "use":"all"]] Profile::current = add(Profile::current, "partitioning",partitions); Thanks -- Leonardo Luiz Padovani da Mata barroca@gmail.com "May the force be with you, always" "Nerd Pride... eu tenho. Voce tem?" -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org