Code Monkey home page Code Monkey logo

Comments (2)

betapictoris avatar betapictoris commented on June 10, 2024

Can you please provide what message appears when you attempt to install Crouton, and also what command you're using? The hostname being frostflow-rev3, while strange, shouldn't exactly be the problem.

from crouton.

DennisLfromGA avatar DennisLfromGA commented on June 10, 2024

@Joyful108,

No worries, it's just the PS1 prompt that has changed recently, if you run hostname you'll find that it is still 'localhost'.

The new PS1 prompt is set using the script: /etc/bash/bashrc.d/01-prompt.sh, the actual routine is shown below:

if [[ ! -f /run/dont-modify-ps1-for-testing ]]; then
  PS1="$(
    hostname="$(cat /run/chromeos-config/v1/name 2>/dev/null || hostname)"
    board_id="$(crossystem board_id 2>/dev/null || true)"

    if [[ -n "${board_id}" ]]; then
      hostname+="-rev${board_id}"
    fi

    echo "${PS1//\\h/${hostname}}"
  )"
fi

If you don't like it you could just run this command as root :

  • touch /run/dont-modify-ps1-for-testing

Note: on version M117+ they removed the sudo command in the crosh shell so you may have to run that command as root from VT-2.

-DennisLfromGA

from crouton.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.