• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. obeh
    O
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 16
    • Best 0
    • Controversial 0
    • Groups 0

    obeh

    @obeh

    0
    Reputation
    10
    Profile views
    16
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    obeh Unfollow Follow

    Latest posts made by obeh

    • RE: Fog imaging problem

      it’s different 🤔
      I’ll try to get a different adapter

      posted in Windows Problems
      O
      obeh
    • RE: Fog imaging problem

      @Boyan-Biandov this is what I’m using

      posted in Windows Problems
      O
      obeh
    • RE: Fog imaging problem

      I’ll provide the information once I’m in front of the computer, but from what I’ve seen the mac addr dose not change it’s static, and for evidence still on the same session where it says it’s not registered when i try to register it again it says it’s already registered.
      so i don’t think it’s something to do with the mac,
      BTW I’ve seen it with both 1.5.7 and 1.5.6.

      The computer I’m trying to image is a dell latitude 7400 if that can help in any way (M.2 MVMe ssd)

      PS, it has only one NIC

      posted in Windows Problems
      O
      obeh
    • RE: Fog imaging problem

      yes, by scheduling a capture task in the Web U.
      and yes i can still see the host in the web ui

      posted in Windows Problems
      O
      obeh
    • Fog imaging problem

      this is my setup
      ubuntu desktop 18.04 is my fog server (UFEI if that makes any difference)
      the target system is windows 10 (UFEI)

      the scenario is that I’m able to register my computer with fog and I’m able to see that it was registered with the right mac and other details, but once I’m trying to take the image fog says it’s not registered, the strange thing is that when I’m trying to register it again fog says that it’s already registered…
      so I’m kinda stuck in a loop without the ability to image that computer.

      posted in Windows Problems
      O
      obeh
    • RE: Run a post deploy script

      Yes I’m aware of this behavior, I’m working on that from my side…

      posted in Linux Problems
      O
      obeh
    • RE: Run a post deploy script

      I’ll give it a try tomorrow.
      Thank you

      posted in Linux Problems
      O
      obeh
    • RE: Run a post deploy script

      It’s not always sda and nvme i have 3 combinations,
      nvne (system) ssd (storage)
      nvme (system) nvme (storage)
      ssd (system) ssd (storage)

      So i need something to determine which is which.

      posted in Linux Problems
      O
      obeh
    • RE: Run a post deploy script

      Tell me what information you are missing and I’ll gladly provide it.
      I’ve tried using a very simple script:
      my systems are composed of laptops with 1 or 2 disks (so my script is not expecting more than 2 disks)

      ## get all drives  that are not the root drive and not a usb drive (if there only one drive it will return an empty string)
      disk=$(lsblk  -e7,11  -lpdn -o NAME,TRAN | grep -v usb | grep -v $(lsblk -no pkname $(lsblk -l -o  NAME,MOUNTPOINT  -e7 -e11 -p  | grep -w '\/$' | awk '{print $1}')) | awk '{print $1}')
      
      ## now i'm creating the partions:
       if [[ ! -z $disks ]]; then 
           parted -s $disk mklabel gpt mkpart pri 0% 100%
      
      ## now I'm formatting it:
           mkfs.ext4 -F ${disk}1 
      
      ## getting it's UUID
           UUID=blkid ${disk}1 -sUUID -ovalue
      
      ## insert the disk to fstab
           echo -e "UUID=${UUID} \t /storage \t ext4 \t defaults \t 0 \t 0" | tee -a /etc/fstab 
      
      ## mount it
           mount -a
      fi
      
      

      now looking on the pitchers I see that the lsblk does show the second disk but the disks are not mounted so my script fails…
      VideoCapture_20190710-225624.jpg

      VideoCapture_20190710-225637.jpg

      posted in Linux Problems
      O
      obeh
    • RE: Run a post deploy script

      So I’ve tried several things but in the end i realized that the 2nd drive is not loaded while deploying so i can’t do anything with it.
      Also the busybox has a very limited grep binary.
      And does not include lsblk (it’s only get used when piping, as much as i could see)
      For now i’ll stick with ansible to do the reset of the work.

      Unless you have any advice that can help me achieve the target…

      posted in Linux Problems
      O
      obeh